ControlsCheckBox (Object)

Member of:

Controls collection, DashboardSection object

Description:

The ControlsCheckBox (Object) represents a Dashboard check box that enables user to make choices.

Example:

This example shows how to change check box text and to determine if it is enabled. This script assumes a check box control,CheckBox in a Dashboard section:

CheckBox.Text = "Click here to change the value"
//if the CheckBox is not being shown, show it.
if (CheckBox.Visible != true)
      CheckBox.Visible = true
if(CheckBox.Checked == true)
      Alert("Checkbox is Checked","Info")
else
      Alert("Checkbox is Not Checked","Info")

Method:

OnClick(), OnClientClick()

Properties:

Read-only: Property Name As String, Property Type as BqShapeType

Read-write: AccessibilityText (Property), Property Alignment As BqHorizontalAlignment, AppendObjectText (Property), , Property Checked As Boolean, Property ClientScriptStatus as Boolean, Enabled As Boolean, Property Text As String, Property Type As BqShapeType, Property VerticalAlignment As BqVerticalAlignment, Property Visible As Boolean

Objects:

Fill As Fill, Font As Font