Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setfocus to the first control
Message
From
11/07/1999 13:36:45
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00239958
Message ID:
00239965
Views:
14
>>How to send the cursor to the first control on a form. I want to put this code in a class. Sometime ago I saw one thread here explaning how to do, but now I don't remember. Anybody could help me?
>
>Antonio,
>
>You set focus to a control by calling its SetFocus method. As to where and when you call that method, well that is involved in what class and what other objects and which method you are calling from etc..

Ok, but I dont't know who is the first control. I have one method called addnew in one form class. So, every time I instantiate this form class I have to set the focus to the first control. What I want to do it is to create one generic code to send the cursor to the first control. How discover who is the first control?
Antonio Carlos Kleinübing
Systems Analyst
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform