Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Move cursor from one object to another
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00339409
Message ID:
00339411
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform