Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid highlighting
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Application:
Desktop
Miscellaneous
Thread ID:
01423527
Message ID:
01423587
Views:
95
This message has been marked as a message which has helped to the initial question of the thread.
Hi Hans,

> It seems the when clause doesnt prevent you from clicking on a column and having it change color.

It's the textbox that has the When method. Clicking into the column activates the column and sets the focus to the active control in the column. If the control refuses focus, the focus will remain with the column. Unfortunately, the column only has a SetFocus method, but no corresponding GetFocus event. You could use the AfterRowColChanged event of the grid to move the focus to the next column when the user activated the wrong one.
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform