Skip to content

Win32ComboBoxEdit

This is generic Win32 editable combo box. Use DoSelectItem to select a particular item and DoSetText to set a custom value.

Extends SeSSimulatedObject

Behavior Pattern: Win32TextEditable

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('SomeWin32ComboBoxEdit').GetText()

SeS('SomeWin32ComboBoxEdit').SetText(value)

Action Detail

DoSetText

Sets text value of this object.

SeS('SomeWin32ComboBoxEdit').DoSetText(val)

Parameters:

Name Type Description
val string Text value.

Returns:

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

Behavior Pattern: Win32ItemSelectable

Property Summary

Property Description Getter Setter
ItemCount Number of items. GetItemCount

Action Summary

Action Description
DoSelectItem Selects item of this object.

Property Detail

ItemCount

Number of items.

Type: number

Accessors: GetItemCount

value = SeS('SomeWin32ComboBoxEdit').GetItemCount()

Action Detail

DoSelectItem

Selects item of this object.

SeS('SomeWin32ComboBoxEdit').DoSelectItem(itemName)

Parameters:

Name Type Description
itemName string This is a name of item to select. Or an array of item names in the case of multi-select.

Returns:

boolean: 'true' if operation is successful, 'false' otherwise

Behavior Pattern: Win32ItemCombo

Property Summary

Property Description Getter Setter
ItemCount Number of items. GetItemCount

Action Summary

Action Description
DoSelectItem Selects item of this object.

Property Detail

ItemCount

Number of items.

Type: number

Accessors: GetItemCount

value = SeS('SomeWin32ComboBoxEdit').GetItemCount()

Action Detail

DoSelectItem

Selects item of this object.

SeS('SomeWin32ComboBoxEdit').DoSelectItem(itemName)

Parameters:

Name Type Description
itemName string This is a name of item to select.

Returns:

boolean: 'true' if operation is successful, 'false' otherwise