Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot change object.name property
Message
From
19/02/1998 10:56:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00079844
Message ID:
00079858
Views:
35
>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
Unfortunately you cannot change directly there. Do it in superclass. Also note that methods and events (and props) referencing them should be changed too.
Optional way of changing is via vcx editing but again PEM referencing them would expose problems.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform