Checkbox
The checkbox control in the Pane Designer inserts a checkbox in the pane.
Drag the checkbox to the desired place in the pane, as demonstrated below:
The following properties can be changed for the Checkbox control:
Common Properties
After adding the checkbox to the plane, configure the settings in the Common Properties right panel, shown below:
The following settings are available for a selection pane checkbox:
Setting | Description | Example |
---|---|---|
Control Tag |
Identifies the control and reads it's value when used in a form or report. |
CF_GETPANELVALUE("VERSION") |
Label Text |
Describes what the control is used for. |
|
Tooltip |
Provides extra information to the user by moving their mouse over the control. |
A $-variable can be used to display dynamic system information. Enter a $ sign to view available variables. For more information, see Pane $ Variables. |
Get Latest Value |
When enabled, populates the control with the latest selected value from user (ON/OFF). |
|
Enabled |
Determines if the control should be enabled or disabled (ON/OFF). Control can also be enabled/disabled depending on the state of another checkbox control. |
|
Hidden |
When enabled, control will not be visible for users (ON/OFF). |
|
Checked |
When enabled, determines the initial state of the checkbox (ON/OFF). |
|
Checked Value |
Displays value to return from checkbox when it's checked. |
For more information about this feature, see Default Values in Pane. |
Unchecked Value |
Displays value to return from checkbox when it's unchecked. |
Data Bindings
To add a dataview for your checkbox, select the Data Bindings heading in the right panel:
Select the Data Bindings heading in the right panel to add a dataview for your checkbox:
Then, select the Default Value(s) drop-down and choose a data view, as demonstrated below:
As you'll notice, the Parameters section automatically populates based on the Default Value(s) you choose.
Select the data find Preview selected data view icon to preview the selected data view, as shown below:
The Data View Preview dialog displays, like below:
In the Parameters section, select the link icon next to a parameter to link and retrieve the value from another control in the selection pane, where applicable.
The Dataview preview icon is called Data Preview icon and it is enabled only when you select Dataview from the list.
If you select data base procedure, it will be disabled ( Preview is not available for database procedures, consider migrating it to a data view)