DlgCheckBox.SetProperties

DlgCheckBox.SetProperties ( 

number ControlID,

table  Properties )

Example 1

DlgCheckBox.SetProperties(CTRL_CHECK_BOX_02, tProperties);

Sets the properties for the '02' Check Box control to those contained in the table "tProperties".

Example 2

DlgCheckBox.SetProperties(CTRL_CHECK_BOX_03, {Visible = false, Enabled = false});

Disables and hides the '03' Check Box Control on the current screen.

Example 2

tCheckProperties = DlgCheckBox.GetProperties(nControlID);

if not tCheckProperties.Visible then
    tCheckProperties.Visible = true;
    DlgCheckBox.SetProperties(nControlID, tCheckProperties);
end

Gets the properties of the check box control whose id is stored in nControlID.  If this control is not visible, it is made visible.

See also:  Related Actions