object in a list box

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

object in a list box

jWarrior
i want to put an object in a listPresenter, -but- i want what is displayed
to
be something different than the object's displayString. how do i do that?
i could not find an example in the image that seemed to do the trick.

thanks.


Reply | Threaded
Open this post in threaded view
|

Re: object in a list box

Andy Bower
Donald,

> i want to put an object in a listPresenter, -but- i want what is displayed
> to
> be something different than the object's displayString. how do i do that?
> i could not find an example in the image that seemed to do the trick.

You should set the #getTextBlock aspect of the associated list view to
answer the String you want displayed. The block takes the list object as its
single parameter. Typically, you'll set the block using the View Composer.

Best Regards

Andy Bower
Dolphin Support
http://www.object-arts.com/Support.htm

Not all Addictions are Bad for you
http://www.object-arts.com/Addiction.htm