Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

How text size is stored – PB Docs 2019 – PowerBuilder Library

How text size is stored – PB Docs 2019

How text size is stored

A control’s text size is specified in the control’s TextSize
property. PowerBuilder saves the text size in points, using negative
numbers.

For example, if you define the text size for the StaticText
control st_prompt to be 12 points, PowerBuilder sets the value of
st_prompt’s TextSize property to–12. PowerBuilder uses negative
numbers to record point size for compatibility with previous releases,
which saved text size in pixels as positive numbers.

If you want to change the point size of text at runtime in a
script, remember to use a negative value. For example, to change the
point size for st_prompt to 14 points, code:

You can specify text size in pixels if you want, by using
positive numbers. The following statement sets the text size to be 14
pixels:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x