A check box is used to represent a Yes/No choice. The ButtonState property of the check box control is used to indicate whether a check box has been checked.
Note that check box is also one of the available visualizations for a field. Before you use the check box control, you should aways consider whether using a field with this visualization would be a more appropriate choice in terms of reuse and consistency.
EVTROUTINE HANDLING(#PHBN_1.Click)
If cond '#ckbx_1.ButtonState *eq Checked'
use message_box_show with_args(OK OK Information ButtonState
'The box is checked')
else
use message_box_show with_args(OK OK Information ButtonState
'The box is not checked')
endif
ENDROUTINE
A check box is also a visualization style for a field.