Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No focus
Message
From
05/02/2002 16:39:41
 
 
To
05/02/2002 16:28:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00615541
Message ID:
00615760
Views:
35
Winn,

We'll get this rabbit hunted down :)

How did you determine that it had focus? Just because setfocus() method fires does not mean it had focus. Did the gotfocus() fire?

Could you post the interactiveChange() code from the textbox in page 1? In your interactive change, add the following lines before your code that changes the active page. When the debugger fires up, press F8 and see where your code goes.
set step on
debug
If these objects are from the VFP base classes, you could replace them with base class objects to see if your classes are causing problems.

>Steve,
> I took out the code in the next object in the tab order that sets focus the second time. When ran the text box only receives focus once, but the focus is on the next object. So it had focus, but not for long.
>
>>>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().
>>
>>OK.
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform