Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Workaround for a bug
Message
From
14/06/2001 15:20:48
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00519598
Message ID:
00519664
Views:
11
>Thisform.Click() ??
>hmm, I recall that doesn't work and you have to find a container or shape or whatever.

The only way this will work is if I set the focus on a control of the form which is visible, in the visible area and not a container. So, adding an invisible control doesn't work. If I add a visible control, but have it left to -100, this doesn't either. However, if I set the focus on one of my form control, it works. Basically, as Mark mentioned, we might be better of to scroll thru the controls and find the tab order #1 to set the focus on it if we have a SetFocus() method.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform