Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How are optionbuttons bound to optiongroups?
Message
 
À
10/05/1999 09:04:04
Marco Beuk
Innovero Software Solutions
The Hague, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00216690
Message ID:
00216700
Vues:
24
>I have got a container class with an optiongroup. The optiongroup has 6 options. If i set the optiongroup's value to 1 the first optionbutton is 'checked'. But what is the FIRST button? I can move it to the fourth position but it would still be the first button. How can i make it the fourth button so that it is checked when the optiongroup's value is 4. I cannot find any propertie that aranges this like the Order property does it for pages within pageframes.
>
>When i understand this, maybe i can solve a problem i have which actualy is very weird:
>In my container class when i set the optiongroup's value to 1 the first button is checked, 2 checks the seconds button and so on until the sixth button. So far so good.
>When in a form i pick the containerclass en drop it on a form setting the optiongroup's value to 1 checks the first optionbutton. However, setting this value to 5 the sixth button is checked and the other way around. This is strange because i didn't modify any properties or method so it shouldn't work different from the class.
>
>Does anyone know how this works in Fox?
>
Hi Marco,

The property I think you're looking for is the TabIndex. An easy way to visual see the tab order of the buttons is to right click the option group, then select Edit. Then the View/Tab Order menu option
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform