Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot change object.name property
Message
 
To
19/02/1998 10:55:13
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00079844
Message ID:
00080196
Views:
37
Thank you, Edward,

Your idea does work, but I really want to have ButtonCount equals 2. Maybe we may found how to work it arround.

>>Hi,
>>
>>Let me describe my problem. At first I created class MyOptionGroup based on OptionGroup. Then I added on a form an object, based on MyOptionGroup class. I have MyOptionGroup.ButtonCount equals 2. At last I wanted to change Name property of an option inside of option group from NAME1 to something more informative like optSelected, yet I couldn't. The Name property of all options inside of option group is now disabled (in gray color)!
>>Thanks for you help.
>>Igor Gelin
>
>I think there is no way to change visibilty for individual class member properties (if you don't want to create special optionbutton class). However, you can go around setting OptionGroup.ButtonCount=0 in class definition and ButtonCount=3 (e.g.) in Form designer. Now all 'new' option.name properties are editable.
Igor Gelin
Database Developer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform