Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing items from a class within a subclass?
Message
De
05/08/2006 11:24:07
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
05/08/2006 11:15:22
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Divers
Thread ID:
01143212
Message ID:
01143222
Vues:
7
>>hi everyone:
>>
>>quick question here. i have a class of an optiongroup with 5 buttons. is there a way to subclass that and then delete one of the buttons? foxpro is giving me an error message and i just thought i would see if there's an easy way to do this that i'm missing. or, is the only way to create a class with 2 buttons and then create 2 subclasses, one with 5 and the other with 4?
>>
>>i'm going back into my applications and starting to use classes in them so that i can make changes quickly throughout the application.
>>
>>thanks,
>>
>>paul
>
>Alternatively you could set buttons 3-5 to invisible.

Another workaround would be to return .f. from the .init of these buttons (at the subclass level), but as you said, if there's any code refering to them, it may break.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform