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

FormFieldGetEmptyWidth – PB Docs 2022 – PowerBuilder Library

FormFieldGetEmptyWidth – PB Docs 2022

FormFieldGetEmptyWidth

PowerScript function

Description

Gets the empty width (that is, the width of the field when there is
no text displayed) set for a form field. The type of the form field may be
FormFieldCheckBox, FormFieldComboBox, FormFieldText, and
FormFieldDate.

Applies to

RichTextEdit control

Syntax

Argument

Description

fieldID

The unique ID assigned to the form field.

Return value

Integer.

If it succeeds, returns the width of the field, in twips, when the
field is empty. If a form field is inserted without the emptyWidth
setting, a default width of 2000 twips is used. For almost all units of
measurement in the RichTextEdit control, twips are used. Twip is a
fabricated word meaning twentieth of a point (pt).

Returns -1 if the field ID maps to a checkbox form field. Returns -2
if the field ID maps to a non-form field. If any argument’s value is null,
returns null. Returns -1 if an error occurs.

Examples

This example gets the empty width of the specified form
field.


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