FMX.Types.TVirtualKeyboardEvent
Delphi
TVirtualKeyboardEvent = procedure(Sender: TObject; KeyboardVisible: Boolean; const Bounds : TRect) of object;
C++
typedef void __fastcall (__closure *TVirtualKeyboardEvent)(System::TObject* Sender, bool KeyboardVisible, const System::Types::TRect &Bounds);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
TVirtualKeyboardEvent is the method pointer type used to define event handlers for OnVirtualKeyboardShown and OnVirtualKeyboardHidden events.
Event handlers of the TPaintEvent type have the following parameters:
Parameter | Description |
---|---|
Sender
|
The form that called the event handler. |
KeyboardVisible
|
The boolean parameter identifying whether the virtual keyboard is visible or hidden. |
Bounds
|
The screen coordinates of the virtual keyboard's window. |