PopulateComboBoxWithEntStates Method
- Last UpdatedNov 06, 2025
- 1 minute read
The PopulateComboBoxWithEntStates() method populates the specified combo box with entity utilization state descriptions from the Util_State table. Each combo box entry is a StateData instance, so that the associated state ID is stored with each description.
'Declaration
Public Shared Sub PopulateComboBoxWithEntStates( _
ByVal cboStates As ComboBox, _
ByVal includeEmptyDesc As Boolean _
)
public static void PopulateComboBoxWithEntStates(
ComboBox cboStates,
bool includeEmptyDesc
)
Parameters
- cboStates
Required. Holds the combo box to populate.
- includeEmptyDesc
- Required. Holds a flag that, if set to true, places an empty description at the beginning of the combo box so that 'None' can be selected.