Solved

TRichEdit behavior (moderate)

Posted on 1998-03-24
6
144 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
Independent Software Vendors: 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 80 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

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

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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

731 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