Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

Panel Form

  • Last UpdatedJun 25, 2024
  • 1 minute read

Use scripts to set and get values for the properties of the Panel Form control.

Basic

Property

Scripting Supported

Example

Name

Yes

Writable

Readable

To set the property

control.findById("ID").tagName = "Value for Name";

To get the value of the property

control.findById("ID").tagName;

XML Node

Yes

Readable

To get the value of the property

control.findById("ID").xmlNodeBoundTo;

Description

Yes

Writable

Readable

To set the property

control.findById("ID").description = "Value for Description";

To get the value of the property

control.findById("ID").description;

Appearance

Property

Scripting Supported

Script

Visible

Yes

Writable

Readable

To set the property

control.findById("ID").visible = true;

To get the value of the property

control.findById("ID").visible;

Label Position

No

Not Applicable

Label-Control Area

No

Not Applicable

Width

Yes

Readable

To get the value of the property

control.findById("ID").width;

Height

Yes

Readable

To get the value of the property

control.findById("ID").height;

Retain Space

No

Not Applicable

Adapt Layout

No

Not Applicable

Show Panel Details

No

Not Applicable

Columns

No

Not Applicable

Tab Order

No

Not Applicable

Image Path

No

Not Applicable

Adapt UI

No

Not Applicable

Custom Style Sheet Identifier

No

Not Applicable

Advanced

Property

Scripting Supported

Example

ID

No

Not Applicable

Behavior

No

Not Applicable

Scripts

Property

Scripting Supported

Example

Name

Yes

return "Value for Name";

Description

Yes

return "Value for Description";

Visible

Yes

return true;

For more information, see scripting guidelines for Visible property.

Behavior

Yes

return 0;

Allow a user to edit values of the child controls.

return 1;

Deny a user to edit values of the child controls.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in