MSComCtlToolbar

Top  Previous  Next

 

Extends SeSSimulatedObject.

 

Behavior Pattern: MSComCtlToobarBehavior

 

Property Summary

 

Property

Description

Getter

Setter

ItemCaption

The caption of the button on the toolbar

GetItemCaption


ItemCount

The number of the items in the toolbar

GetItemCount


ItemStyle

The style of the button on the toolbar

GetItemStyle


ItemValue

Returns 'true' if element with nameCaptionIndex has value

GetItemValue


 

Action Summary

 

Action

Description

DoClickItem

ClickItem

DoSetCheck

SetCheck

 

Property Detail

 

ItemCaption

The caption of the button on the toolbar

Accessors: GetItemCaption

 

ItemCount

The number of the items in the toolbar

Accessors: GetItemCount

 

ItemStyle

The style of the button on the toolbar

Accessors: GetItemStyle

 

ItemValue

Returns 'true' if element with nameCaptionIndex has value

Accessors: GetItemValue

 

Action Detail

 

DoClickItem(nameCaptionIndex, clickType, xOffset, yOffset)

ClickItem

 

Parameters:

 

Name

Type

Description

nameCaptionIndex

string |
number

index, name or caption of the item to be selected.

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

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

 

Returns:

 

'true' if success, 'false' otherwise.

 

DoSetCheck(bcheck, nameCaptionIndex)

SetCheck

 

Parameters:

 

Name

Type

Description

bcheck

boolean

Check state to set

nameCaptionIndex

string |
number

index, name or caption of the item to be selected.

 

Returns:

 

'true' if success, 'false' otherwise.