Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On Form Load, Setting Focus to Particular Command Button
Message
From
21/04/2006 19:59:05
Freddie Rodrigues
Bitrun Business Solutions
Mumbai, India
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
On Form Load, Setting Focus to Particular Command Button
Miscellaneous
Thread ID:
01115622
Message ID:
01115622
Views:
60
When the user activates a Class, I need to set focus to a default button on the Form. I have tried
thisform.pageframe1.page1.command1.setfocus()
When the class is activated through regular code, it works fine. But if I try the same through < when & valid >, I get error.

a. Is there anyway I can overcome the situation.

b. How can I identify if the class is called through < when & valid >. If this is possible I can put an condition.

Thanks
Helping hands are better than praying lips.
Next
Reply
Map
View

Click here to load this message in the networking platform