Search found 2 matches

by Ilya Shalnov
Sun Oct 03, 2021 10:24 pm
Forum: Support
Topic: How can I get SelStart?
Replies: 2
Views: 6344

Re: How can I get SelStart?

Thank you, it works now!
by Ilya Shalnov
Sun Oct 03, 2021 7:09 am
Forum: Support
Topic: How can I get SelStart?
Replies: 2
Views: 6344

How can I get SelStart?

I try to do that this way

uses
... RVLinear;


function SelStart(RVE:TRichViewEdit):integer;
var
SelStart:integer;
SelLength:integer;
int:integer;
begin
RVGetSelection(RVE,SelStart,SelLength,int);
Result:=SelStart;
end;

When it is done with the first line, it works fine. When I go to the ...