trichview.com

trichview.support




how to obtain cell column index and row index of cell at caret position


Return to index


Author

Message

Michael Exel

Posted: 11/05/2003 18:08:03


Dear Sergey,


i have problems obtaining the "column index" and "row index" of cell at caret

position.

I have tried following:


procedure TForm1.RVCurTextStyleChanged(Sender: TObject);

var

   item:  TCustomRVItemInfo;

   temp: TRVTableCellData;

begin

   item := RV.GetCurrentItem;

   if RV.GetItemStyle(0) = -60 then

   begin

      temp := TRVTableCellData(item); 

   end;

end;


Unfortunately i can't find a function which returns column/row-index for

the cell.

Can you help me?


Thank you


Michael





Powered by ABC Amber Outlook Express Converter