Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Howto Shift Focus Out Of A Grid
Message
De
12/11/2004 16:05:34
 
 
À
12/11/2004 15:50:16
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00961010
Message ID:
00961023
Vues:
9
Hello Dragan,

>If you're doing this .setfocus() within a .losfocus() of an object.

The form has a method that is called just once, after the form is opened and becomes visible. This allows you to set various things up - here is the code :-
THISFORM.oCntJobLU.grdListGrid.afterFormOpen()
THISFORM.setNextControl(THISFORM.txtJobNum)
So, as you can see, this is not occuring in a lostfocus. The first line sort of sets the grid up to how it should "look" just after its containing form has opened. The second line attempts to setfocus on the form control I require to have focus.

Thank you!

Angie.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform