In a TDragrid I am trying to use a cbsEllipsis cell editor. In the button click method I call a TCalendar dialog. The initial date is obtained from my appkications data structures based on the row, and the value returned from the TCalendar dialog is wriitn into the data structures. This much works ok.
What I cannot find out how to do is display the cell contents in the edit part of cbsEllipsis. When the editor is invoked (in OnSelectEditor) I want to put the current cell contents in the cbsEllipsis display, and on return from (in this case the TCalendar call) to display the results in the cbsEllipsis, before the cell becomes unselected.
Currently the new cell contents are displayed properly when the cell is unselected, (done by my OnDrawCell routine), but until then the cbsEllipsisi display is blank.
I've read all the reference material I can find on using cell editors, but none of them explain how to do this. I'm probably just missing soke simple bit of information, but I cannot progress any further/