in my program at OnFormCreate I add a little notice displayed in Red with a red border surround.
I add it like this:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
begin
rve.Clear;
rve.AddTextNL('My Program Name - Trial Version',1,1,0);
// Create two new lines...
rve.AddNL('',0,0);
rve.AddNL('',0,0);
rve.Format;
// Now I need to position cursor (caret) at the second added new line
end;
I now need to be able to set the cursor position for the user to begin typing to the last AddNL('',0,0);
How can I do this?
Also I have a problem that if the user presses Delete the cursor will end up at the end of the Protected - Read Only paragraph and then cannot press enter any more!
How can I please avoid this little problem?
Many thanks
jnap