Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resize at design time.
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00152214
Message ID:
00152603
Views:
19
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?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform