DlgStaticText.SetProperties

DlgStaticText.SetProperties ( 

number ControlID,

table  Properties )

Example 1

DlgStaticText.SetProperties(CTRL_STATICTEXT_BODY, {Visible = false});

Hides the 'body' static text control on the current screen.

Example 2

tProperties = DlgStaticText.GetProperties(nControlID);

if not tProperties.Visible then
    tProperties.Visible = true;
    DlgStaticText.SetProperties(nControlID, tProperties);
end

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

See also:  Related Actions