Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid.when() not executed
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00229895
Message ID:
00230038
Views:
23
>>>Is it a known problem of the VFP grid control that its' When() event doesn't execute reliably? If so, why wasn't this fixed in SP3?
>>>
>>>The When() seems to get executed only once: when the grid first gets focus.
>>
>>That is exactly when the when is supposed to fire, as the grid is gaining focus and before it actually has focus.
>
>So how can we compensate for the missing grid.gotfocus() event?

Vidar,

The grid's when fires each time it gets focus. It does not fire during row changes, only after the grid loses focus and then regains it.

You can use the When for doing things you need to do when the grid is about to get focus.
Previous
Reply
Map
View

Click here to load this message in the networking platform