Solved

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

Posted on 2008-10-14
1
221 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:
ciuly 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
ShiftLeft challenge 21 66
Modbus - whats the maximum I can store in one register? 4 75
noX challenge 17 77
select query - oracle 16 82
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…
This article will show, step by step, how to integrate R code into a R Sweave document
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
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.

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now