Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No focus
Message
From
05/02/2002 16:10:55
 
 
To
05/02/2002 15:35:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00615541
Message ID:
00615748
Views:
32
Winn,

>
>>How are you switching pages? By mouse or keyboard action? If by keyboard, is there anything in keypress() method of textbox?
>
>.activepage = 2

In what method is the above code?

>
>>Also, put the following in setfocus() of textbox, and see if the setfocus() is really being called:
>>
>>activate screen
>>? program()
>
>When I ran the above in my code, the text box received focus 2 times.
>
>What do you think?

I think setfocus() is being called in 2 different places *grin*. But, from what you are describing, it is not really getting focus...to experiment with the firing order, you can put the same code (activate screen/? program()) in when() and gotfocus().
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform