Previous | Contents | Index | Next

# 3.4 Mouse Actions

XTrackCAD uses the left and right mouse buttons when manipulating tracks and other objects on the layout. Their meaning depends on the particular command:

Select Command

The Select command actions are affected by the mode selected in Options->Command->Select. Note - Objects in a Module Layer are selected and deselected as a group.

Left-Click
  Single Item Mode -> Selects one object at a time, deselects other objects. Add Item Mode -> Adds unselected objects, deselects if the object is already selected. If the click is on an area without objects and SelectZero is set, all objects are deselected.
Shift-Left-Click
  Selects all connected tracks from the one clicked up to the next selected item in each direction.
Ctrl+Left-Click
  Single Item Mode -> Adds an object to the selection, deselects if the object is already selected. Add Item Mode -> Selects just this item and deselects other objects. If the click is on an area without objects and SelectZero is set, all objects are deselected.
Double-Left-Click
  Opens Modify for Cornu and Draw Objects other than Text, Activates Link and Document Notes, otherwise opens Describe.
Left+Drag
  Single Item Mode -> Selects all objects in an rubber-banded area and deselects all others. Add Item Mode -> Adds items in the rubber-banded area.
Shift+Left-Drag
  Moves selected objects if in a selected area, if off selected objects, like Left-Drag.
Ctrl+Left-Drag
  Rotates selected objects if in a selected area, if off selected objects, like Left-Drag.
Right-Click
  Displays a pop-up menu of context commands (in Select, Move, Modify and Rotate commands). If some track is selected, the menu has operations to perform on it, if not, it will have a command context menu.
Shift+Right-Click
  Displays a pop-up menu of commands. Displays the other context menu than Right-Click.
Right+Drag
  Deselects all objects in an rubber-banded area from the current set.
Rotate Wheel
  Zooms drawing area in and out. Modern computers with Trackpads often map this guesture to two-finger drag.

When Moving and Rotating ( Placing Turnouts and Structures, Moving the Print and Snap Grids, ... ):

(Shift+Left+Drag)
  Moves the objects or grid.
(Ctrl+Left+Drag)
  Rotates the objects or grid about the pivot point, which is the point you started the drag operation.

Some other commands use the `Shift` or `Ctrl` key to modify the meaning of button presses.

- 3.4.1 Context Sensitive Menus