This page is maintained for older versions of Rapise only. The latest documentation can be found at: https://rapisedoc.inflectra.com
MSComList

MSComList

Top  Previous  Next

 

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

 

ItemCount

Number of items.

 

Type: number

 

Accessors: 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

 

Action Detail

 

DoCheckItem(nameCaptionIndex, bCheck)

Checks items of this object.

 

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(nameCaptionIndex, clickType, xOffset, yOffset)

Clicks the specified item

 

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
Optional, Default: L.

xOffset

number

X offset to click within object. Default is a center.
Optional.

yOffset

number

Y offset to click within object. Default is a center.
Optional.

 

Returns:

 

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

 

DoSelectItem(nameCaptionIndex, bSelect)

Selects items of this object. First it clears existing selection.

 

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.