Setup Factory 10

DlgButton.SetProperties

DlgButton.SetProperties

This is the first topic This is the last topic  

DlgButton.SetProperties

This is the first topic This is the last topic  

OverviewExamples

DlgButton.SetProperties (

number ControlID,

table Properties )

Example 1

DlgButton.SetProperties(CTRL_BUTTON_HELP, tProperties);

Sets the properties of the help button to those contained in the table called "tProperties."

Example 2

DlgButton.SetProperties(CTRL_BUTTON_CANCEL, {Visible = false, Enabled = false});

Disables and hides the Cancel button on the current screen.

Example 3

tButtonProperties = DlgButton.GetProperties(nControlID);

 

if not tButtonProperties.Visible then

   tButtonProperties.Visible = true;

   DlgButton.SetProperties(nControlID, tButtonProperties);

end

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

See also: Related Actions


Learn More: Indigo Rose Software - Setup Factory - Buy Now - Contact Us