Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set focus to a grid column
Message
From
09/05/1996 09:08:26
John Adams
John T. Adams Software Consulting Svcs
Keedysville, Maryland, United States
 
 
To
08/05/1996 18:37:55
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00001164
Message ID:
00001179
Views:
45
>When having the focus on a control in the form and
>want to set the focus in the grid, I write
>ThisForm.MyGrid.SetFocus() and it works. But, when
>I want to set the focus to a column it doesn't
>work even if I write
>ThisForm.MyGrid.Column1.SetFocus(). The focus
>always returns to the last column it was.


Michel,

Did you try issueing a refresh (either at form level, or
specifically for the grid)?

I have had interesting problems with refreshing grids in
scenarios like the one you discuss.

Good Luck!

John
John Adams

John T. Adams
Software Consulting Services
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform