Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Network:
Windows 2003 Server
>I need to have an edit box extend vertically if the user enters more text than will fit. The edit box will not have scroll bars. There will be a limit to the size and I can easily handle that part. I'm just not sure of the best way to handle the auto sizing. Is there some event that gets triggered when the text goes below the box? I thought of using memlines() but is there an easier way?
>TIA
I think you're on the right track with MEMLINES() combined with FontMetric() and the Height of the editbox to see how many rows you have room for.
Tamar
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement