Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CommandGroup Array?
Message
 
À
25/07/1998 02:00:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00121314
Message ID:
00121323
Vues:
14
Hi Jamie,

You could also have a look at the Buttons collection of CommandGroup and refer to it asthisform.commandgroup1.Buttons(7).Enabled = .F.

>I have a command group with a dozen command buttons. How can I reference these in an "array stle" method. I want to disable the command buttons based on a certain criterai. In other words...
>
>For i = 1 to 12
> if i = 7 && Example
> thisform.commandgroup1.cmd7.enable = .f.
>endif
>
>
>What do I replace the "thisform.commandgroup.cmd7.enable" with to disable the seventh item of the command group???? Thanks for your help.
>
>j. flick
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform