Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two Objects with Focus
Message
 
To
10/08/1999 08:52:03
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00251915
Message ID:
00251976
Views:
13
>Is it possible to have two separate objects, like a textbox and a command button, have focus at the same time? I have a screen with a command button (Add) which sets focus to a textbox (Item) when the button is clicked. However, the command button doesn't seem to loose focus even though the cursor is positioned in the textbox. The tab order has the textbox directly following the command button. Any ideas how this could happen?

This is fairly common when working with grids and pageframes, at least, there can be an "apparent" focus and an actual focus...only one is the true focus, of course, and some added code to refresh and/or setfocus will remove the "apparent" focus...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform