Information générale
Catégorie:
Gestionnaire d'écran & Écrans
My first thought was to use ALINES() with CHR(13) as the 3rd parameter, this will parse the text into an array. Then loop through the array to determine number of lines require. for each element. And sum up the results for total lines require.
hth.
>Back to the drawing boards. My contents are longer thatn 254 characters and thus will not fit into the captions of labels. So I'm back to Edit boxes. I Tried using the txtwidth() function to determine the length of the data, but it is formatted with carriage returns so the txtwidth() does not correxpond the how much vertical space it will require.
>
>Is there some way to cause an Edit box to resize automatically to display the current value?
>
>Any suggestions appreciated.
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