Intersoft WebDesktop Documentation
ToolCommand
Send Feedback
Intersoft WebDesktop > Client-side References > ToolCommand

Glossary Item Box

 ToolCommand Properties

ClassName Description
Gets the object class name.

ValueType
String

Default Value
ToolCommand
AutoPostBack Description
Gets or sets a value that indicates whether a Command is autopostback.

ValueType
String

Default Value
No
DisplayToolTip Description
Gets a value that indicates whether command tooltip is displayed.

ValueType
String

Default Value
Default
ToolTip Description
Specifies command tooltip.

ValueType
String

Default Value
Empty String
TextAlign Description
Gets the Command text align type.

ValueType
String

Default Value
Default
DisplayMode Description
Gets the Command display mode.

ValueType
String

Default Value
Default
Pushed Description
Gets a value that indicates whether a Command is pushed.

ValueType
Boolean

Default Value
False
AutoCheck Description


ValueType


Default Value

Checked Description


ValueType


Default Value

IsEnabled Description
Gets a value that indicates whether a Command is enabled.

ValueType
String

Default Value
Default
Visible Description
Gets a value that indicates whether a Command is visibled.

ValueType
String

Default Value
Default
Image Description
Specifies command image file name.

ValueType
String

Default Value
null
Text Description
Specifies command text.

ValueType
String

Default Value
null
Category Description
Specifies command category.

ValueType
String

Default Value
null
Type Description
Gets command type.

ValueType
String

Default Value
Button
Name Description
Gets or sets command name

ValueType
String

Default Value
no default
Index Description
Gets command index.

ValueType
Number

Default Value
-1
ImageSize Description
Specifies the Command image size.

ValueType
UnitSize object

Default Value
16,16
AccessKey Description
Gets the keyboard shortcut key for setting focus to the Command.

ValueType
string

Default Value

MergeCommandID Description
Specifies the Merge Command ID.

ValueType
String

Default Value
null
Menu Description
Gets or sets command menu implementation.

ValueType
WebMenu object

Default Value
null
Items Description
Gets command menu item collection.

ValueType
WebMenuItemCollection object

Default Value
null
SelectedMenuItem Description
Gets selected menu item.

ValueType
WebMenu object.

Default Value
null

 ToolCommand Methods

SetDisplayToolTip Description
Sets Command display tooltip

Parameters
val ( Boolean )
no default (required)

Remarks

Return Value
void

Samples



Clone Description
Clone Command

Parameters
newBar ( WebToolBar object )
no default (required)

Remarks
Clone command with its structure , add it to new WebToolBar.

Return Value
ToolCommand object

Samples



SetVisible Description
Sets Command visibility.

Parameters
val ( String )
visible value (Default, Yes, No)
no default (required)
batchUIUpdate ( Boolean )
False

Remarks

Return Value
void

Samples



UpdateUI Description
Apply immediately command UI changes.

Parameters
updateContainerDimension ( Boolean )
Update container (WebToolBar) dimension.
False

Remarks

Return Value
void

Samples



Reset Description
Reset ToolCommand setting to original setting.

Parameters

Remarks

Return Value

Samples



SetIsEnabled Description
Sets Command enability.

Parameters
v ( Boolean )
no default

Remarks

Return Value
void

Samples



OnClick Description
Emulate onclick event programmatically.

Parameters

Remarks

Return Value
void

Samples



© 2012 Intersoft Solutions Corp. All Rights Reserved.