3.4.2. Usage

This section explains the arguments used in the various check box/option button macros

3.4.2.1. cx-create-button-box

(cx-create-button-box parent label radio-mode)

ArgumentTypeDescription
parentobjectThe name of the table that you are adding the button box to
labelstringThe name of the button box to be displayed on the GUI
radio-modesymbol/BooleanAllows choosing between check boxes and option buttons

3.4.2.2. cx-create-toggle-button

(cx-create-toggle-button parent label row column)

ArgumentTypeDescription
parentobjectThe name of the button box that you are adding the check box/option button to
labelstringThe name of the check box/option button to be displayed on the GUI

3.4.2.3. cx-set-toggle-button

(cx-set-toggle-button togglebutton value)

ArgumentTypeDescription
togglebuttonobjectThe variable you used to create the check box/option button
valuebooleanThe Boolean value that you want to set the check box/option button to

3.4.2.4. cx-show-toggle-button

(cx-show-toggle-button togglebutton)

ArgumentTypeDescription
togglebuttonobjectThe variable you used to create the check box/option button

Release 18.2 - © ANSYS, Inc. All rights reserved.