2D Graphics > Managers > Manager Event Handling > Accelerators > Predefined Manager Accelerators
 
Predefined Manager Accelerators
Managers have built-in accelerators, which are listed below. You can disconnect them by setting the accelerators parameter of the manager constructor to IlFalse.
Predefined Manager Accelerators 
Event Type
Key or Button
Action
IlvKeyUp
f
Modifies the zoom factor of the view so that all objects can be seen (f for fit).
IlvKeyUp
i
Sets the transformer of this view to the identity matrix.
IlvKeyUp
p
Moves selected objects to a higher layer.
IlvKeyUp
P
Moves selected objects to a lower layer.
IlvKeyUp
Ctrl-D
Duplicates all selected objects and moves the copied objects slightly.
IlvKeyUp
Ctrl-A
Selects all objects.
IlvKeyUp
Ctrl-S
Selects the object designated by the pointing device.
IlvKeyUp
Del
Deletes all selected objects.
IlvKeyDown
r
Re-executes the last command.
IlvKeyDown
u
Undoes the last command.
IlvKeyUp
Ctrl-G
Groups the selected objects into an IlvGraphicSet.
IlvKeyUp
Ctrl-U
Ungroups an IlvGraphicSet.
IlvKeyDown
Right
Translates the view left.
IlvKeyDown
Left
Translates the view right.
IlvKeyDown
Down
Translates the view up.
IlvKeyDown
Up
Translates the view down.
IlvKeyUp
Z
Zooms into the view.
IlvKeyUp
U
Zooms out of the view.
IlvKeyUp
Ctrl-B
Deselects all objects.
IlvKeyUp
Ctrl-T
Inverts all selected objects.
IlvKeyUp
Y
Flips the selected objects horizontally.
IlvKeyUp
y
Flips the selected objects vertically.
IlvKeyUp
. (dot)
Flips the selected objects both horizontally and vertically.
IlvKeyUp
Ctrl-C
Copies selected objects on the clipboard.
IlvKeyDown
Ctrl-V
Inserts objects from the clipboard.
IlvKeyUp
Ctrl-X
Deletes selected objects but saves them on the clipboard.
IlvKeyDown
R
Rotates the view 90 degrees counter-clockwise.
IlvKeyDown
C
Centers the view on the indicated point.
IlvKeyUp
T
Encapsulates relevant object in IlvTransformer graphic(s).
By means of calls to IlvManager::getAccelerator, you can reassign these keys to fit your own application needs. You can also add your own interactors to this primary list, remove any of them, or overload them so they act differently.

Version 6.0
Copyright © 2015, Rogue Wave Software, Inc. All Rights Reserved.