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:
00998570
Vues:
50
Malcolm,

Another thought that came to me today, is that if you size the edt with the scrollbar turned on and then when you've got the height where you want it resize the width down by the sysmetric(5) at the same time you turn off the scrollbars and the text shouldn't reflow causing an empty space at the bottom.

>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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform