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

Focus

THPDFViewer.TabStop is enabled by default so normal form tab order can give the Viewer keyboard focus