Solved

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

Posted on 2008-10-14
1
224 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

790 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