Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Workaround for a bug
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00519598
Message ID:
00519664
Vues:
12
>Thisform.Click() ??
>hmm, I recall that doesn't work and you have to find a container or shape or whatever.

The only way this will work is if I set the focus on a control of the form which is visible, in the visible area and not a container. So, adding an invisible control doesn't work. If I add a visible control, but have it left to -100, this doesn't either. However, if I set the focus on one of my form control, it works. Basically, as Mark mentioned, we might be better of to scroll thru the controls and find the tab order #1 to set the focus on it if we have a SetFocus() method.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform