Code: Select all
rve.InsertBreak( 1, rvbs3d, clNone );
Code: Select all
rve.InsertText(#13);
Code: Select all
rve.InsertBreak( 1, rvbs3d, clNone );
Code: Select all
rve.InsertText(#13);
Code: Select all
if ptr = endptr then
begin
Invalidate;
exit;
end;
Code: Select all
if (ptr = endptr) and
not (GetItem(GetCurItemNo).GetBoolValue(rvbpFullWidth) and
(GetOffsetInCurItem >= GetOffsAfterItem(GetCurItemNo))) then
begin
Invalidate;
exit;
end;
Code: Select all
rve.Clear;
rve.AddBreak(...);
rve.AddNL('', 0, 0);
rve.Format;
Code: Select all
i := rve.CurItemNo;
rve.AddNL( ' Log: ' + DayText, 1, -1); //adds item 1
rve.AddBreak(1, rvbs3d, clNone); //adds item 2
rve.AddNL('',0); //adds item 3
rve.Format; //so we can see changes
rve.SetSelectionBounds( i+3, rve.GetOffsAfterItem(i+3),
i+3, rve.GetOffsAfterItem(i+3) ); //set sel at end