Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MemberData, predefine values
Message
From
09/06/2004 08:41:44
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00909886
Message ID:
00911653
Views:
61
>>First of all: Looks good that stuff!
>>
>>Now to the questions:
>>Is it possible to predefine values with the MemberData xml? So that we get a combo box in properties window?
>>
>>Update:
>>
>>If possible this list should be available as pick list in the editor.
>>
>>Agnes
>
>This feature is not natively supported with Member Data. However, the Member Data is extensible and one could easily define these values (enums). And you can have a custom New/Edit Property dialog (and Property Editor) know how to read these settings. Lots of options for you....
>
>Randy

Hi Randy,

Yes, if I think it trough it should be possible to create a custom New/Edit Property dialog (those in class menu) using the new menu hooks. But it would be better you do it nativly. Just look on the threads how many have asked how to do it ...

For the properties window, it should be possible at least. But I would like to have a refernce to the xml used. It would be inventing the wheel twice if I need to parse all the way of MemberData inheritence myself if you have already done it. ::)

Anyway, a dialog is not the same as a combobox and it would be like a spell to have a way to define the combo using MemberData. I do not mean this is the solution for anything, but for some it's the best. Same way you decide sometimes a combo and sometimes a dialog.

Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform