I am evaluating a 3rd party component that (supposedly) works well with the
Winforms "RichTextBox" control, but does not work with the Delphi
"TRichEdit" control (I am using Delphi 2007 VCL.NET).
So...I decided to import the RichTextBox control into VCL.NET. At this
point I can place a TImpRichTextBox onto a VCL.NET form, but from that point
on it's behavior is a little wierd. For one thing, in the IDE I've set the
TImpRichTextBox properties: Height=150, Width=350, and it displays as such
in the IDE. However, when I run the project, the control is displayed with
Height=96 and Width=100. I tried doing this in the FormShow event handler:
ImpRichTextBox1.Height = 150;
ImpRichTextBox1.Width=350;
but the code has no effect; the control still shows as Height=96, Width=100.
I added a button to the form that explicitly sets the Height/Width of the
control -- and it works (huh?).
* Is there something I'm missing with imported Winforms controls?
* Am I likely to encounter further issues in which this control will not
"appear" as an actual RichTextBox control to the 3rd party component that
I'm attempting to evaluate?
I appreciate the input,
Steve Wyatt