Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can a menu procedure setfocus?
Message
From
03/12/1998 16:11:15
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00163839
Message ID:
00163842
Views:
27
>Focus is on form1. Have a form2.setfocus in my menu procedure. It does not seem to be working. Can the menu setfocus?
>
>Thanks - Brenda

Yes it can, but you have to provide direct reference to this form. There are two ways to get this reference, either you get it on-fly by searching through _SCREEN.Forms() collection or keep it in some pre-defined collection when you start a form (DO FORM ... NAME ... LINKED)
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform