Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating an autosizing editbox
Message
 
 
À
22/03/2005 17:05:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00998157
Message ID:
00998282
Vues:
34
Malcolm,

If you turn off the scrollbar at the end the text will reflow and might end up a line or two shorter then the edt would hold, but you'd at least have one that was big enough.

>Well, that's a very, very clever solution. Thinking outloud: I can loop expand my editbox one line (determined by fontmetric) at a time until the scroll bar indicates its inactive. I will have to adjust the width of my editbox to account for the scrollbar which I will then remove when I'm done. All behind the cover of LockScreen = True, of course.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform