Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setfocus() in grid column
Message
From
09/07/2001 14:13:43
 
 
To
29/06/2001 02:26:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00525000
Message ID:
00528259
Views:
13
It may be you rearranged or add/delete columns to your grid previously. The gridName.Column1 does not necessary correspond to the first column you see on the screen, and so are the rest of the grid columns.

Do an explicit SetFocus() will solve this problem. For e.g., gridName.grcColumnName.txtActiveControlName.SetFocus() will set the focus the the column ColumnName if it is enabled, not readonly, and visible.
Previous
Reply
Map
View

Click here to load this message in the networking platform