Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Height of Text
Message
De
20/02/2002 03:54:24
 
 
À
19/02/2002 11:32:25
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00621982
Message ID:
00622391
Vues:
28
>Hi All,
>
>How can I calculate the height of a control (editbox) to show all lines of a string?
>
>Thanks in advance
>
>Agnes

Agnes,

Without having looked at the other thread ..

Not taking into account that a line may overflow due to the width of the editbox, the following gets good results IMO and may get you where you want.
Have a look at it and see whether it can be of any help
? thisform.TextHeight(thisform.Editbox1.text)
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform