Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's different between Ctrl-tab and click to a page
Message
From
21/08/2007 19:09:12
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01249290
Message ID:
01249490
Views:
13
Hi,

>
>Have you tried:
>
>In the GotFocus() event of Page 1:
>
>This.edtBox1.SetFocus()
>
>so that every time page 1 gets the focus, either from clicking its tab, or hot-keying to it, it passes on the focus to the editbox.

Yes, I have tried that before, but it does not work.

The funny thing is both Click and Ctrl-tab to switch to page1 trigger the ACTIVATE event. I can confirm this by simply adding a "MESSAGEB('Hello, I am triggered')" line right before the "This.edtBox1.SetFocus()" in the ACTIVATE event procedure. But only the Click work...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform