I don't see how that would help? As far as I know, init doesn't run when you resize a control at design time...
-Michelle
>Michelle,
>
>Just have the RTF fit itself to the container in it's Init: something like:
>
>
with this
> .Width = .parent.Width - 2 * .Left
> .Height = .parent.Height - .Top - .Left
>endwith
>
>>I've been working on a class that bundles together an RTF box and its controls. I put them together on a form and did save as class, and that part works ok.
>>
>>The problem I'm having is that if you make the container bigger or smaller, I want the RTF box to match.
>>
>>I tried putting code in the resize event of the container, but found out that it doesn't get called at design time.
>>
>>Is there any way to do this?