Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ThisForm.FirstObject.SetFocus
Message
 
To
16/11/2001 16:07:56
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00582940
Message ID:
00582991
Views:
30
J. Crescencio,

>>> You don't need to. Just set the tabindex property
>>> of the control(s). The lowest TabIndex setting will
>>> have the focus when the form is activated.

I have to do this because this form is inside a FormSet. Then I have to control this Form with Form.Visible = .T. / .F. - Then, when I have to know the firstobject because the second time that I do Form.Visible = .T., the cursor is in the object that the last time...

I create one propertie, where I type the name of object, then I can do SetFocus... but maybe, VFP makes it easier! :)

Sorry about my English... :)

[]'s
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform