You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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.

  • No labels