?
Solved

TRichEdit behavior (moderate)

Posted on 1998-03-24
6
Medium Priority
?
146 Views
Last Modified: 2010-04-06
Delphi 2's RichEdit always clear part of its background to white whenever you show all scrollbars (ssBoth), set wordwrap to false, HideScrollbar to true and resize its owner window (or just type on a line until a horizontal scrollbar appears).  Can anyone tell me how to fix it?
(repainting on the owner control's OnResize is not considered an option altho it can partly solve it)
0
Comment
Question by:wy2lam
[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
  • 3
  • 3
6 Comments
 

Author Comment

by:wy2lam
ID: 1360821
Adjusted points to 80
0
 
LVL 1

Expert Comment

by:extreme
ID: 1360822
I have the same problem and the only easy solution I found is to refresh the RichEdit. And, don't forget that the RichEdit is an standard MS Windows 95 control, not a delphi write control, so the gilt of that behavior is Windows not Delphi... better to found the better solution is to find a working fix I guess. And, the same bad behavior occurs when you insert lines under certain circunstances, so my algoritm to fix it refresh on Resizes, and work with a timer reseting it every line inserted, finally when the timer is called i refresh the rich edit. For me works fine.
0
 

Author Comment

by:wy2lam
ID: 1360823
Thanks extreme,...currently it is what I'm doing with my RichEdit decendent.  Now I believe there isn't a solution without muggling with comctrl32.dll...so, do you think you need the points?  I can give it to you =)  By the way, can you tell me what is the use of expert points?  I've accumulated several 100's of them but have no idea how to use them.
0
Technology Partners: 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!

 
LVL 1

Accepted Solution

by:
extreme earned 240 total points
ID: 1360824
Well, I post this answer if you want to give me the points..:) I really don't know exactly what other uses you can give to the points, but in my case I like this system as a kind of curriculum for some work. This is a simply way to probe your expertise in some area.
0
 

Author Comment

by:wy2lam
ID: 1360825
Here's the points =)  and thanks a lot.
0
 
LVL 1

Expert Comment

by:extreme
ID: 1360826
You are welcome...
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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

765 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