Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automatically adjust form's width
Message
De
09/10/2015 15:50:49
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01625785
Message ID:
01625786
Vues:
58
>Hi everybody,
>
>This topic most probably has been discussed before, in this case may be you can point me out to the discussion.
>
>I have a simple form with an editbox and an Ok button at the bottom right. I pass the string to assign to the editbox. I am wondering if it's possible to automatically resize the form to show the full content of the string (if it's too long, just use maxwidth/maxheight)?
>
>Also, the editbox and the button have anchor properties set.
>
>The initial form display is attached and I have to re-size the form every time to see full content.
>
>Thanks in advance.

So you need to calc the width / height of the editbox?

Tricky. But not impossible. It's to much to describe. If you e mail me I hand you my editbox base class that can do such stuff.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform