Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Program Error
Message
From
22/05/2004 12:29:27
 
 
To
22/05/2004 10:13:50
Randy Hooper
Ranco Business Software
Tampa, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00906229
Message ID:
00906238
Views:
18
Randy-

>cannot call setfocus from within a When, Valid, Rangehigh or range low event. I'm trying to setfocus in a grid from a command button in the click event. I have done this before without error, any Ideals.

I'm unclear on the problem. You're calling the Grid's SetFocus() from a button Click()? And it's not working? What does this have to do with the limitation on calling SetFocus() which would seem to not apply?

BTW, putting the SetFocus() in a control's LostFocus() can work quite well in lieu of using the Valid().
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform