OnKeyPress
TVideoGrabber.OnKeyPress |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Occurs when keys are pressed on a video window that has the control.
Declaration
property OnKeyPress: TOnVideoKeyPress read FOnKeyPress write FOnKeyPress;
__property TOnVideoKeyPress OnKeyPress=read=FOnKeyPress, write=FOnKeyPress
Event OnKeyPress(VideoWindow As Long, Key, PhysicalKey As Long)
Description
This TOnVideoKeyPress event occurs when keys are pressed on a video window that has the control.
Useful mainly when the video window is not attached to the control (Display_embedded disabled), to receive key events from the window.
See Also
TOnFrameProgress TOnResizeVideo AutoRefreshPreview BackgroundColor Display_AutoSize Display_FullScreen Display_SetLocation Display_VideoPortEnabled ImageRatio InFrameProgressEvent IsVideoInterlaced IsVideoPortAvailable OnFrameProgress OnPreviewStarted OnResizeVideo PausePreview PreviewZoomSize ResumePreview StartPreview StartSynchronized StopPreview Synchronized UseNearestVideoSize VideoHeight VideoRenderer VideoWidth Visible