Goto first char
Posted: Fri Nov 18, 2005 4:00 pm
How I can move the cursor to the first char of paragraph
Support forums for TRichView, ScaleRichView, Report Workshop and RVMedia components
https://textally.com/forums/
Code: Select all
rve.SetSelectionBounds(0, rve.GetOffsBeforeItem(0), 0, rve.GetOffsBeforeItem(0));
Code: Select all
i := rve.CurItemNo;
while not rve.IsParaStart(i) do
dec(i);
rve.SetSelectionBounds(i, rve.GetOffsBeforeItem(i), 0, rve.GetOffsBeforeItem(i));