COMMAND_EVENT
enumeration
Specifies
what kind of event the function is associated to.
§
CANEXECUTE:
Decide
if the tool item should be enabled or disabled.
§
DESCENDANT_CLICK
Occurs
when any item on the dropdown portion of the menu item, dropdown button, split
button, context menu is clicked,
§
DRAG_ENTER:
Occurs
when an object is dragged into the tool item’s bounds
§
DRAG_LEAVE:
Occurs
when an object is dragged leave the tool item’s bounds
§
DRAG_OVER
Occurs
when an object is dragged over the tool item’s bounds
§
DROP
Occurs
when an object is dropped onto the tool item
§
DROPDOWN_CLOSED
Occurs
when the menu item, dropdown button, split button, context menu closed the
dropdown portion,
§
DROPDOWN_OPENING
Occurs
when the menu item, dropdown button, split button, context menu is showing the
dropdown portion,
§
EXECUTE:
This
function will be called when the button is clicked.
§
GIVEFEEDBACK
Occurs
when an object is dragged
§
GOT_FOCUS
Occurs
when the tool item got focus
§
GOT_KEYBOARDFOCUS
Occurs
when the tool item got keyboard focus
§
HELPBUTTON_CLICK:
When
the “Question” icon
on the tooltip is
clicked, this function will be called.
§
INITIALIZE:
This
function will be called when the tool item is initialized.
§
KEY_DOWN
Occurs
when the key is pressed
§
KEY_PRESS
Occurs
when the key is pressed
§
KEY_UP
Occurs
when the key is released
§
LOST_FOCUS
Occurs
when the tool item lost focus
§
LOST_KEYBOARDFOCUS
Occurs
when the tool item lost keyboard focus
§
MOUSE_DOWN
Occurs
when the mouse button is pressed
§
MOUSE_ENTER
Occurs
when the mouse first enters the tool item’s bound
§
MOUSE_LEAVE
Occurs
when the mouse leaves the tool item’s bound
§
MOUSE_MOVE
Occurs
when the mouse moves inside the tool item’s bound
§
MOUSE_UP
Occurs
when the mouse button is released
§
MOUSE_WHEEL
Occurs
when the mouse wheel moves inside the tool item’s bound
§
SELECTED_INDEX_CHANGED
Occurs
when the selected item of the combo box is changed
§
SELECTION_CHANGED
Occurs
when the selection of the text inside a textbox or combo box is
changed
§
THUMBDRAG_COMPLETED
Occurs
when the user stops dragging the thumb of the slider
§
TEXT_CHANGED
Occurs
when the text of the textbox is changed
§
TEXT_INPUT
Occurs
when the user inputs text for a textbox
§
THUMBDRAG_DELTA
Occurs
when the thumb of the slider is dragged
§
THUMBDRAG_STARTED
Occurs
when the user starts to drag the thumb of the slider
References:
Command,
Commands Manager,
Create a Command,
Dynamically Link a Tool Item to a Command Existed in an Optional Assembly
Features,
How To,
Index,
Instruction,
No comments:
Post a Comment