Setup Factory 10

DlgComboBox.SetProperties

DlgComboBox.SetProperties

This is the first topic This is the last topic  

DlgComboBox.SetProperties

This is the first topic This is the last topic  

OverviewExamples

DlgComboBox.SetProperties (

number ControlID,

table Properties )

Example 1

DlgComboBox.SetProperties(CTRL_COMBOBOX_01, tProperties);

Sets the properties of the '01' combo box control to those contained in the table called "tProperties."

Example 2

DlgComboBox.SetProperties(CTRL_COMBOBOX_02, {Visible = false, Enabled = false});

Disables and hides the '02' combo box control on the current screen.

Example 3

tProperties = DlgComboBox.GetProperties(nControlID);

 

if not tProperties.Visible then

   tProperties.Visible = true;

   DlgComboBox.SetProperties(nControlID, tProperties);

end

Gets the properties of the combo box control whose id is stored in nControlID.  If this control is currently not visible, it is made visible using the DlgComboBox.SetProperties action.

See also: Related Actions


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