Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resize at design time.
Message
From
30/10/1998 09:29:32
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00152214
Message ID:
00152762
Views:
25
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform