Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Choices in an OptionGroup
Message
De
23/01/2004 13:45:30
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00867982
Message ID:
00870038
Vues:
34
>From a child form, I wanted to reset a optionGroup1.Buttons(5) in the parent form.
>But when I say
>ParentForm.OptionGroup1.Button(5).SetFocus()
>The child form goes into the background, the parent comes to the foreground,
>and I can no longer use any of the controls on the forms. However, the little dotted square
>has now surrounded ParentForm.OptionGroup1.Button(5). Is the way to set the focus without the
>forgoing problems.
>Thanks
>Steve

Not easily. That's the whole purpose of Setting Focus is to make it active.

About the only thing I would think you could do is wait to set the parentform OptionGroup Focus until you're closing the Child form.
Fred
Microsoft Visual FoxPro MVP

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

Click here to load this message in the networking platform