Solved

Procedure which will set me boolean variable to true if there are no text after cursor position

Posted on 2008-10-14
1
223 Views
Last Modified: 2010-04-05
in TRichedit.

What options exist to resolve this question?
0
Comment
Question by:pr2501
1 Comment
 
LVL 28

Accepted Solution

by:
2266180 earned 125 total points
ID: 22710683



function textAfterCursor(r:trichedit):boolean;
begin
  result:=r.selstart<length(r.lines.text);
end;

Open in new window

0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem to event 3 94
t-sql sp_addlinkedserver possible risks 3 68
Not able to call Delphi XE10 dll function from Delphi 6.0 4 26
Capture logon name 13 70
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question