FCMCtrlCheckbox

Summary of modifications:

  • Added CheckChange custom control event.

Functions

SetCheck

fcmctrlcheckbox.SetCheck(self, checked)

View source

[Fluid] [Override] Ensures that CheckChange event is triggered.

Input Type Description
self FCMCtrlCheckbox
checked number

HandleCheckChange

fcmctrlcheckbox.HandleCheckChange(control, last_check)

View source

[Callback Template]

Input Type Description
control FCMCtrlCheckbox The control that was changed.
last_check string The previous value of the control’s check state..

AddHandleChange

fcmctrlcheckbox.AddHandleChange(self, callback)

View source

[Fluid] Adds a handler for when the value of the control’s check state changes. The even will fire when:

  • The window is created (if the check state is not 0)
  • The control is checked/unchecked by the user
  • The control’s check state is changed programmatically (if the check state is changed within a handler, that same handler will not be called again for that change.)
Input Type Description
self FCMCtrlCheckbox
callback function See HandleCheckChange for callback signature.

RemoveHandleCheckChange

fcmctrlcheckbox.RemoveHandleCheckChange(self, callback)

View source

[Fluid] Removes a handler added with AddHandleCheckChange.

Input Type Description
self FCMCtrlCheckbox
callback function