Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Height of Text
Message
From
20/02/2002 03:54:24
 
 
To
19/02/2002 11:32:25
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00621982
Message ID:
00622391
Views:
29
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform