Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Focus problem
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00234800
Message ID:
00234945
Views:
24
Hi Mark,

>> I put a pageframe on my form and now when my form appears a focus sets on the first page. I want that focus sets on the first control on my page (text box). So, how can I do that? Do I need to put some code into áctivate method of my form or I can do it in design time?
>>
>> Thanks in advance
>
>That's what I would do. This.PageFrameName.Page1.txtBoxName.SetFocus()

Ok, I did this in Form.Init method and PageFrame.Click.
Works fine.


Thank you.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform