Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Move cursor from one object to another
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00339409
Message ID:
00339411
Vues:
15
In the Click method of the button, at the end, after whatever other code you have in there, put something like
thisform.SomeOtherControl.Setfocus()
>Does anyone know how to move the cursor to one object to another object? The situation is occurs when you press a ADD button to enter another record. I want the cursor to move to the first field in the form. I tried to use the SETFOCUS = .T. in the click command but it tells me that the SETFOCUS is read only. I then tried to use SETFOCUS() but it tells me that I cannot call SETFOCUS from within a When, Valid, RangeHigh, or RangeLow event. I have the SETFOCUS in the click method. Not in any of the previous methods!!! Am I doing something wrong? Is there another way to do this? Please help? Samples would be great.
>Much Aloha, Mike.
Peter Franz
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform