Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2003-11-19
1
Medium Priority
?
297 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

609 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