Welcome! Log In Create A New Profile

Advanced

Size of text in pixel

Posted by Igor Pobi 
Igor Pobi
Size of text in pixel
April 26, 2009 12:08AM
Hello !

Is possible to resize width of edit control for size of text in string variable ?
For example:

text1 is string = "Test string 1"

EDT_Edit1..Width += SIZE_OF_PIXEL(text1)

Of course, I not found SIZE_OF_PIXEL function in Windev smiling smiley
So, please help ! smiling smiley



Piet van Zanten
Re: Size of text in pixel
April 26, 2009 10:27AM
Hi Igor, TextWidth is your friend.
Igor Pobi
Re: Size of text in pixel
April 26, 2009 12:48PM
Thanks !!!
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: