trichview.com

trichview.support




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


Return to index


Author

Message

Anonymous

Posted: 11/05/2003 19:26:44


procedure TForm1.GetCurColRow(RVE: TCustomRichViewEdit; var c, r: integer);

var CRVE: TCustomRichViewEdit;

    Item: TCustomRVItemInfo;

begin

  if RVE.GetCurrentItemEx(TRVTableItemInfo, CRVE,Item) then

     TRVTableItemInfo(Item).GetEditedCell(r, c);

end;





Powered by ABC Amber Outlook Express Converter