trichview.com

trichview.support




Re: Delete table


Return to index


Author

Message

Sergey Tkachenko

Posted: 09/29/2003 23:02:21


You can select

a:=n-1;

b:=n;

rv.SetSelectionBounds(a, rv.GetOffsAfterItem(a), b, rv.GetOffsAfterItem(b));


But it obviously will not work if the table is the first (i.e. 0th) item.


You can simulate DELETE:


rv.SetSelectionBounds(a, rv.GetOffsBeforeItem(a), a,

rv.GetOffsAfterItem(a));;

rv.DeleteSelection;

SendMessage(rv.Handle, WM_KEYDOWN, VK_DELETE,0);





Powered by ABC Amber Outlook Express Converter