General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only