Skip to content

ManagedComboBox

Managed ComboBox.

UI element class: System.Windows.Forms.ComboBox

Extends ManagedObject

Extends SeSSimulatedObject

Behavior Pattern: ManagedObjectSelectableBehavior

Property Summary

Property Description Getter Setter
SelectedIndex Index of the selected element of the object. GetSelectedIndex SetSelectedIndex
SelectedText Text of the selected item in a single string. GetSelectedText SetSelectedText

Action Summary

Action Description
DoSelectItem Selects an item of this object.

Property Detail

SelectedIndex

Index of the selected element of the object.

Type: number

Accessors: GetSelectedIndex, SetSelectedIndex

value = SeS('SomeManagedComboBox').GetSelectedIndex()

SeS('SomeManagedComboBox').SetSelectedIndex()

SelectedText

Text of the selected item in a single string.

Type: string

Accessors: GetSelectedText, SetSelectedText

value = SeS('SomeManagedComboBox').GetSelectedText()

SeS('SomeManagedComboBox').SetSelectedText()

Action Detail

DoSelectItem

Selects an item of this object.

SeS('SomeManagedComboBox').DoSelectItem(item)

Parameters:

Name Type Description
item string | number Item index or text value to select.

Returns:

boolean: 'true' if success, 'false' otherwise.

Behavior Pattern: ManagedObjectTextBehavior

Property Summary

Property Description Getter Setter
Text Text of the object, 'false' if text can not be read. GetText SetText

Action Summary

Action Description
DoSetText Sets text value of this object.

Property Detail

Text

Text of the object, 'false' if text can not be read.

Type: string

Accessors: GetText, SetText

value = SeS('SomeManagedComboBox').GetText()

SeS('SomeManagedComboBox').SetText(value)

Action Detail

DoSetText

Sets text value of this object.

SeS('SomeManagedComboBox').DoSetText(val)

Parameters:

Name Type Description
val string Text value.

Returns:

boolean: 'true' if success, 'false' otherwise.