FCMCtrlCheckbox

Summary of Modifications

  • Added CheckChange custom control event.

Functions

SetCheck

fcmctrlcheckbox.SetCheck(self, checked)

View source

[Fluid] [Override]

Override Changes:

  • 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..

AddHandleCheckChange

fcmctrlcheckbox.AddHandleCheckChange(self, callback)

View source

[Fluid]

Adds a handler for when the value of the control’s check state changes. The event 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