Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to prevent grid from loosing focus?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to prevent grid from loosing focus?
Miscellaneous
Thread ID:
00695727
Message ID:
00695727
Views:
46
Update. Disregard. Found a solution already.

Hi everybody,

I have implemented some validation in the grid. I put if not this.ValidateCurrentRow() return .f. in Grid's valid method. I have a save button on the form (Save method fires also by F9). When I press F9 at first Valid of grid is fired, but then the Save method is fired.

How can I just execute grid's Valid and prevent grid from loosing focus? Is placing grid in the container the only way?
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform