As to the Got/LostFocus issue,
if you put a Grid on a Container and code into the Got/LostFocus of the Container, you can achieve the same effects as having Got/LostFocus in the Grid.
This is not true.
Case a)
For Grid on Grid this is not true because
when you put a container into a Grid cell,
Container.GotFocus not fire ( Form.GotFocus is fired !)
Case b)
I have found a case with Grid within Container when this is not true.
I search on my problems archive a try to write a repro code.
John, into VFP exists many redundant events;
why VFPT it has this reticence to add GotFocus/Lostfocus in grid Class ?
( grid have SetFocus, then a correct OOP must have Got/Lostfocus events )
If BINDEVENT() worked with Form.ActiveControl,
I would resolve the problem alone, but it does not work.
Fabio
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only