?
Solved

Could some teach me how to hide the SelStart and SelLength in TRichEdit?

Posted on 2003-11-19
1
Medium Priority
?
294 Views
Last Modified: 2011-09-20
I just started an application that change the attributes of the word entered in the richedit according to word level (i.e. level 1 dog, cat, apple - simple words). It is a live checker it means it would check everytime a character is entered. I got how to do this using selstart and sellength but the problem is whenever I entered character(s) it would flicked obviously from the selstart and sellength. Anyway I'm using AddictSpell3's richedit so that my application has an spell check feature. Does AddictSpell's richedit use selstart and sellength to put a distorted line below the wrongly spelled word?
0
Comment
Question by:edwinaceron
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 27

Accepted Solution

by:
kretzschmar earned 540 total points
ID: 9778760
u could try this

uses richedit;  //richedit is used

....
  richedit1.perform(EM_HIDESELECTION,1,0); //hide selection
  //do your stuff
  richedit1.perform(EM_HIDESELECTION,0,0); //show selection
...

not tested

>Does AddictSpell's richedit use selstart and sellength to put a distorted
>line below the wrongly spelled word

i don't know, could be also done internal there

meikl ;-)

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

777 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