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... ;-(

Thanks.

Fre;D
                                          
------------------------------------------------------------------------------
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to