Primary Syntax Elements

Control Object Properties

 

Various properties of Graphical Control Objects in PxPlus (Button, Drop Box, Scrollbar, etc.) can be referenced and modified dynamically using a control's assigned CTL value (ctl_id), followed by the Apostrophe Operator and one of the associated property names.

Below is a list of some commonly used control object properties:

 

'Col

Column

 

'Line

Line

 

'Cols

Width of the control

 

'Lines

Height of the control

 

'Tip$

Tip for the control

 

'Msg$

Message line for the control

 

'Fmt$

Format mask for the control

 

'TextColor$

Text color

 

'Value$

Current value/state of the control

For each graphical control object, a list of properties and their descriptions is included with the Help for the associated control directive. For example, a list of Button Properties is available by expanding the Help node for the BUTTON directive. A list of Chart Properties is available by expanding the Help node for the CHART directive, and so on.

The following links provide information on all the properties that can be used for each control type:

 

Button

Grid

Radio_Button

Tree_View

 

Chart

List_Box

Report_View

Tristate_Box

 

Check_Box

List_View

Scrollbar (Horizontal)

Vardrop_Box

 

Drop_Box

Multi_Line

Scrollbar (Vertical)

Varlist_Box

Note:
Different types of controls can be added to a panel by using the NOMADS Panel Designer. To define a specific control type, see Creating Panel Controls.

See Also

Properties List
Dynamic Control Properties