On Thursday 17 December 2015 14:42:34 Fred van Stappen wrote: > Hello Martin. > > How to get the position of the cursor in Twidgetgrid ? > > That procedure => > > //////////////////////////// > procedure TSAK.docellevent(const sender: iassistiveclientgrid; > const info: celleventinfoty); > var > mstr : msestring; > begin > if (Sender.getinstance is Twidgetgrid) then begin > > if info.eventkind = cek_keyup then > mstr:= ' col: '+inttostrmse(info.cell.col) + > ' row:'+inttostrmse(info.cell.row); > > end; > end; > ////////////////////////////// > > Gives the right row position but column is always = 1... ;-( > This is the grid column. Do you mean the caret character position? For which purpose? I could add a function to iasstiveclient.
Martin ------------------------------------------------------------------------------ _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

