THPDFViewer Keyboard Navigation
Provides page navigation, scrolling, and zoom commands through the Viewer keyboard focus
Model method
function ProcessKeyInput(Key: Word; Shift: TShiftState): boolean;
function ProcessMouseWheel(WheelDelta: Integer; Shift: TShiftState): boolean;
The method returns True when the model handled the key and can be used without constructing a Viewer control
Shortcuts
Page UpandPage Downmove to the prior or next pageHomeandEndmove to the first or last pageShift+UpandShift+Downmove to the first or last pageCtrl++andCtrl+-zoom in or outCtrl+1selects Actual SizeCtrl+2selects Fit WidthCtrl+3selects Fit Page- Unmodified arrow keys scroll the Viewer by 40 pixels without rerendering the page
Ctrl+wheelzooms in or out- The unmodified wheel scrolls vertically by the supplied delta
Shift+wheelscrolls horizontally by the supplied delta
Focus
THPDFViewer.TabStop is enabled by default so normal form tab order can give the Viewer keyboard focus