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

FormFieldSetDeletable – PB Docs 2022 – PowerBuilder Library

FormFieldSetDeletable – PB Docs 2022

FormFieldSetDeletable

PowerScript function

Description

Sets whether a form field is deletable by pressing the keyboard key.
The type of the form field may be FormFieldCheckBox, FormFieldComboBox,
FormFieldText, and FormFieldDate.

When a form field is newly-inserted, it is deletable. If the
deletable is set to false, it is not deletable by pressing the keyboard
key, but can still be deletable by calling the corresponding delete
function (for example, FormFieldDelete, or ClearAll),

Applies to

RichTextEdit control

Syntax

Argument

Description

fieldID

The unique ID assigned to the form field.

deletable Specifies whether the form field is deletable by pressing
the keyboard key. True means deletable, and false means not
deletable.

Return value

Integer.

Returns 1 if it succeeds. Returns -1 if an error occurs. Returns -2
if the fieldID is non-existent, illegal, or not of the required type. If
any argument’s value is null, returns null.

Examples

This example sets the form field (fieldID: 22) as not deletable by
pressing the keyboard key.


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