Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid question
Message
 
To
18/03/1999 12:08:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00199279
Message ID:
00199309
Views:
14
Hi William,

Thanks for the quick reply. What I did was to set a flag in the grids .Valid() event and then in each controls .LostFocus event I checked the flag and if .T. grid.column1.text1.setfocus, and grid.refresh. This works but what a pain. Like I said, Man I wish grids had GotFocus() and LostFocus() Events |-(.

>>I have a grid on a form that contains more columns than can be shown so when the user tabs through the columns they shift over accordingly. When the users exits the grid they want the grid to "realign" itself so column1 is the leftmost column. Any ideas? Man I wish grids had GotFocus() and LostFocus() Events |-(
>
>The column on the grid has setfocus() method that you can use ...
>also the text control from the column of a grid has those methods that you want you ca use it...
>
>grid.column.text1.gotfocus()
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Reply
Map
View

Click here to load this message in the networking platform