#--------------------# FUNCTION LCheckBox()#--------------------#
DEFINE l_dialog_reference VARCHAR(10)
DEFINE l_checkbox_reference VARCHAR(10)
LET l_dialog_reference = _ADVPL_create_component(NULL,"LDIALOG")
CALL _ADVPL_set_property(l_dialog_reference,"SIZE",160,120)
CALL _ADVPL_set_property(l_dialog_reference,"TITLE","Ex.: LCHECKBOX")
CALL _ADVPL_set_property(l_dialog_reference,"BACKGROUND_COLOR",210,210,210)
LET l_checkbox_reference = _ADVPL_create_component(NULL,"LCHECKBOX",l_dialog_reference)
CALL _ADVPL_set_property(l_checkbox_reference,"POSITION",05,05)
CALL _ADVPL_set_property(l_checkbox_reference,"VALUE_CHECKED","S")
CALL _ADVPL_set_property(l_checkbox_reference,"VALUE_NCHECKED","N")
CALL _ADVPL_set_property(l_checkbox_reference,"TEXT","Permite valor nulo?")
CALL _ADVPL_set_property(l_dialog_reference,"MAXIMIZED",FALSE)
CALL _ADVPL_set_property(l_dialog_reference,"ACTIVATE",TRUE) END FUNCTION |