Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

richedit resize bug

Posted on 1997-03-24
2
Medium Priority
?
398 Views
Last Modified: 2013-11-22
I have a MDI application with MDIchild form that has two richedit controls. On my machine it works fine but the same program on another machine behaves strange. If i minimize the child and then maximize it again all text in the richedit controls are invisible. But I can still copy text. And if I manually resize the form the text gets visible.
So my question is - Is there a cure for this, or can I do something to catch this and make sure the problem does not show.
johan.lindgren@tt.se
0
Comment
Question by:jolla
2 Comments
 
LVL 3

Expert Comment

by:sperling
ID: 1334938
Hmmm.... You could try RichEdit1.Invalidate when the form is restored... Might help.


Regards,

Erik.
0
 
LVL 2

Accepted Solution

by:
javiertb earned 200 total points
ID: 1334939
When you resize the richedit, parent control have to send a EM_SETEDITRECT message to redefine the editing area. I recommend you to take a look at the RichEdit demo that comes with Delphi 2.

Hope this help
0

Featured Post

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!

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

916 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