Topics List
Design Elements

Checkbox
Making Multiple Selections: Checkboxes in Action

Checkboxes are a type of input control that allows users to make multiple selections from a list of options. Unlike radio buttons, which allow only one selection, checkboxes allow users to select multiple options simultaneously. This makes checkboxes ideal for situations where users need to select more than one option, such as when choosing items from a list or specifying preferences. By using checkboxes in your app, you can provide users with a flexible and efficient way to make selections, enhancing the usability of your app.



You can download the project from the following link:

Class_Rar_0__42.rar

Checkbox´s Properties


During design mode, you can assign the following properties and events to a Checkbox:



  • name: The name of the CheckBox control.

  • Position and Size

    • x: The x-coordinate of the CheckBox control.

    • y: The y-coordinate of the CheckBox control.

    • const_anchorX: The anchor point on the x-axis.

    • const_anchorY: The anchor point on the y-axis.

    • const_width: The constant width of the CheckBox control.

    • const_height: The constant height of the CheckBox control.

    • toBack: Set to true to move the CheckBox control to the back.

    • toFront: Set to true to move the CheckBox control to the front.

    • isVisible: Set to true to make the CheckBox control visible.

  • Appearance

    • checkbox_sheet_PIC: The image file for the CheckBox control.

  • Functions

    • onPress: The function to execute when the CheckBox control is pressed.