Toad World® Forums

Customisation - Property of Type "List"


#1

Hi

I’m pretty comfortable with the customisation of my TDM at the moment, but I’m struggling with a property of type “List”, there doesn’t seem to be a data control that hosts this property type on the fly, so I gather that a more advanced process should be followed here? Maybe create a separate class and use Dispatch? (I did tick the “List” attribute for the property as well).

Here’s what I want to do… I want to create a list Property to house lookup data values for the entity, eg. GENDER entity then the list will contain MALE and FEMALE.

Can someone maybe run me through the process of meeting this requirement? It doesn’t necessarily have to be a list property.

Thanks in advance
Rudi


#2

Hello Rudi,

We’re not quite sure if we understand well, nevertheless you may try to use widestring property in combination with DataStaticComboBox.

Does it help? If not, please try to explain more (more examples…).

Thanks!

Regards,

Vladka + TDM Team


#3

Rudi,

Please read the following article on our weblog:
http://blogs.inside.quest.com/modeling/2008/07/31/how-to-use-combo-boxes-in-customized-forms/

It might help.

Regards,

Vladka + Team