ImageEn, unit imageenview

TIEVKeyInteract


Declaration

TIEVKeyInteract = set of (vkiScrollView, vkiMoveSelection, vkiInteractiveTools, vkiLayerEditing, vkiPdfViewer, vkiMiscellaneous);


Description

Value Description
vkiScrollView Clicking the cursor keys will scroll the view in the same way as moving the scrollbar (this will only occur if there are no layers or selection active)
vkiMoveSelection Allow rectangular and elliptical selections to be moved by the cursor keys, or scrolling of the view (Hold Ctrl key to resize selections. Hold Shift to speed up movement)
vkiInteractiveTools Enables the use of the keyboard when using the interactive tools: BrushTool, RetouchTool, CloneTool, CropTool or RotateTool.
Generally this enables the "Enter" key to enact the current operation or the "Escape" key to cancel the current operation
vkiLayerEditing Enables Keyboard Shortcuts to manipulate the selected layer. The layer can also be moved with the cursor keys in the same way as vkiMoveSelection (Also see: loPreventLayerDelete)
vkiPdfViewer Enables Keyboard Shortcuts when viewing PDF documents with the PdfViewer
vkiMiscellaneous Clicking Ctrl+Plus/Minus will zoom in/out of the control. Ctrl+0 will reset the zoom. Ctrl+R will show the rulers


Examples

// Disable all keyboard interaction
ImageEnMView1.KeyInteract := [];

// Allow user to move the selection and use keyboard for interactive tools
ImageEnMView1.KeyInteract := [ vkiMoveSelection, vkiInteractiveTools ];

// Only allow the keyboard to be used for layer editing
ImageEnMView1.KeyInteract := [ vkiLayerEditing ];