Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Choices in an OptionGroup
Message
De
23/01/2004 13:26:02
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00867982
Message ID:
00870019
Vues:
36
>thisform.OptionGroup1.Value = 5 &&if you're using numeric values or
>This selects the 5th button, however the caption in the first button still has
>a dotted square around its caption. And when I manually select a button,
>the dotted square shifts to the button I select (along with selecting the button). Can
>I control the dotted square -- that part of the selecting -- for a button?
>Thanks
>Steve

thisform.OptionGroup1.Buttons(5).SetFocus()

This will move the focus from the manually selected button to the programmatically selected 5th button.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform