Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot change object.name property
Message
 
À
19/02/1998 10:55:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00079844
Message ID:
00080196
Vues:
42
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform