Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Howto Shift Focus Out Of A Grid
Message
From
12/11/2004 16:05:34
 
 
To
12/11/2004 15:50:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00961010
Message ID:
00961023
Views:
8
Hello Dragan,

>If you're doing this .setfocus() within a .losfocus() of an object.

The form has a method that is called just once, after the form is opened and becomes visible. This allows you to set various things up - here is the code :-
THISFORM.oCntJobLU.grdListGrid.afterFormOpen()
THISFORM.setNextControl(THISFORM.txtJobNum)
So, as you can see, this is not occuring in a lostfocus. The first line sort of sets the grid up to how it should "look" just after its containing form has opened. The second line attempts to setfocus on the form control I require to have focus.

Thank you!

Angie.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform