Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize at design time.
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00152214
Message ID:
00152603
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform