Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's a commandgroup
Message
De
03/01/2008 08:39:26
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
What's a commandgroup
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01279201
Message ID:
01279201
Vues:
49
In pursuing a thread last week about being able to hide pages in a pageframe, I encountered, for the first time, a CommandGroup.

What's the common usage for a CommandGroup, anyway? At first glance, it seems like a container with commandbuttons inside, with the following differences:
1) It has a value ( 1 to N)
2) And a controlsource
3) The "currently selected" commandbutton has its background color sort of dithered out so that you can tell its been selected.

Are there any other differences of note?

Is it possible to disable the change in background for the selected commandbutton? I'd like to use the solution found in "mhtabs" (which uses a commandgroup to replace the tabs on a pageframe), but the places where I use it have tabs of different colors -- and it looks really odd to have the background color change when you click on one the buttons. (For what it's worth, I normally change the forecolor and bold of the selected tab in the pageframe.)

Thanks in advance,

Jim
Jim Nelson
Newbury Park, CA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform