Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:23 pm
by Allistar Melville >> Fri, 31 Mar 2000 9:48:17 GMT
One of our table subclasses places all sorts of custom controls in
cells on the table (including new drop-down type controls, date
controls and buttons).
Placing the control in the cell is easy enough (just create the
control transiently, set the left and top to align with the cell, set
the parent to the table and add the control to the form).
It becomes a lot trickier if you only want that control to be visible when that cell has focus. You then have to put code on the
rowColumnChg event, the scrolled events, the lost and got focus
events. Having said that it is possible.
Allistar.
------------------------------------------------------------------
Allistar Melville
Software Developer
Auckland, NEW ZEALAND
Greentree International,
Developer of Greentree Financial Software. ------------------------------------------------------------------