DlgRadioButton.SetProperties

DlgRadioButton.SetProperties ( 

number ControlID,

table  Properties )

Example 1

DlgRadioButton.SetProperties(CTRL_RADIO_BUTTON_01, tProperties);

Sets the properties of the '01' radio button to those contained in the table called "tProperties."

Example 2

DlgRadioButton.SetProperties(CTRL_RADIO_BUTTON_02, {Visible = false, Enabled = false});

Disables and hides the '02' radio button on the current screen.

Example 3

tRButtonProperties = DlgRadioButton.GetProperties(nControlID);

if not tRButtonProperties.Visible then
    tRButtonProperties.Visible = true;
    DlgButton.SetProperties(nControlID, tRButtonProperties);
end

Gets the properties of the radio button whose id is stored in nControlID.  If this radio button is currently not visible, it is made visible using the DlgRadioButton.SetProperties action.

See also:  Related Actions