Mark Howard wrote:
To answer my own question
The Grid doesn't have focus, so it is not {MyStringGrid}KeyDown
that should be captured, but that of another control.
I've run across various issues of this nature, and the solution I've
found works best in many situations (although your milage may vary) is
to use Actions with shortcut keys assigned, then enabling or disabling
the action dependant on when it's valid - in the grid, for example.
Actions get first dibs on keypresses, including some 'special' keys, so
they can be very useful.
--
Corey Murtagh
--
Message scanned by the Sheriff
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi