Solved

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

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert MS Word document to a PDF file 9 115
Zip Folders Using Chilkat Routines 1 77
Multi-layered image in FireMonkey 9 68
DBCtrlGrid, Delphi, Scroll 7 33
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
This video teaches viewers about errors in exception handling.

726 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