Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Move cursor from one object to another
Message
 
 
À
29/02/2000 16:34:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00339409
Message ID:
00339552
Vues:
15
Mike,

I also thought about this while ago (you may try to find here a thread about it). Finally we added a new property to our navigation bar like PreviousFocus. In when event of each button we save the current focus and in the click event the last line of code is Setfocus to this object. It works fine.

>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.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform