MSComList¶
ComCtl ListView20 Control
Extends ActiveXObject
Extends SeSSimulatedObject
Behavior Pattern: MSComCtlListView20Behavior
Property Summary¶
Property | Description | Getter | Setter |
---|---|---|---|
ItemChecked | Check if item is checked. | GetItemChecked | |
ItemCount | Number of items. | GetItemCount | |
ItemSelected | Check if item is selected. | GetItemSelected |
Action Summary¶
Action | Description |
---|---|
DoCheckItem | Checks items of this object. |
DoClickItem | Clicks the specified item |
DoSelectItem | Selects items of this object. |
Property Detail¶
ItemChecked¶
Check if item is checked.
Getter Parameters:
Name | Type | Description |
---|---|---|
nameCaptionIndex | string | number | index, name or caption of the item. |
Type: boolean
Accessors: GetItemChecked
value = SeS('SomeMSComList').GetItemChecked(nameCaptionIndex)
ItemCount¶
Number of items.
Type: number
Accessors: GetItemCount
value = SeS('SomeMSComList').GetItemCount()
ItemSelected¶
Check if item is selected.
Getter Parameters:
Name | Type | Description |
---|---|---|
nameCaptionIndex | string | number | index, name or caption of the item. |
Type: boolean
Accessors: GetItemSelected
value = SeS('SomeMSComList').GetItemSelected(nameCaptionIndex)
Action Detail¶
DoCheckItem¶
Checks items of this object.
SeS('SomeMSComList').DoCheckItem(nameCaptionIndex, bCheck)
Parameters:
Name | Type | Description |
---|---|---|
nameCaptionIndex | string | number | index, name or caption of the item. |
bCheck | boolean | Desired check state for the item. |
Returns:
boolean: 'true' if success, 'false' otherwise.
DoClickItem¶
Clicks the specified item
SeS('SomeMSComList').DoClickItem(nameCaptionIndex, clickType, xOffset, yOffset)
Parameters:
Name | Type | Description |
---|---|---|
nameCaptionIndex | string | number | index, name or caption of the item. |
clickType | string | Type of click, can be one of "L" - left click, "LD" - double left click, "R" - right click, "RD" - double right click, "M" - middle click, "MD" - double middle click, "N" - don't click Possible values: "L", "LD", "R", "RD", "M", "MD", "N" Optional, Default: "L". |
xOffset | number | X offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the width. Optional. |
yOffset | number | Y offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the height. Optional. |
Returns:
boolean: 'true' if successful, 'false' otherwise
DoSelectItem¶
Selects items of this object. First it clears existing selection.
SeS('SomeMSComList').DoSelectItem(nameCaptionIndex, bSelect)
Parameters:
Name | Type | Description |
---|---|---|
nameCaptionIndex | string | number | index, name or caption of the item. |
bSelect | boolean | Desired selected state for the item. |
Returns:
boolean: 'true' if success, 'false' otherwise.