FMX.Forms.TCommonCustomForm.VirtualKeyboardChangeHandler
Delphi
procedure VirtualKeyboardChangeHandler(const Sender: TObject; const Msg: System.Messaging.TMessage); virtual;
C++
virtual void __fastcall VirtualKeyboardChangeHandler(System::TObject* const Sender, System::Messaging::TMessageBase* const Msg);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | TCommonCustomForm |
Description
The listener for virtual keyboard events of the form.
TCommonCustomForm uses the System.Messaging.TMessageManager.SubscribeToMessage method to subscribe the VirtualKeyboardChangeHandler listener to the TVKStateChangeMessage virtual keyboard events.
The VirtualKeyboardChangeHandler listener handles the KeyboardVisible and KeyboardBounds properties by calling the OnVirtualKeyboardShown and OnVirtualKeyboardHidden event handlers.
See Also
- System.Messaging.TMessageManager.SubscribeToMessage
- System.Messaging.TMessageListenerMethod
- System.Messaging.TMessage
- FMX.Types.TVirtualKeyboardEvent
- FMX.Forms.TCommonCustomForm.OnVirtualKeyboardShown
- FMX.Forms.TCommonCustomForm.OnVirtualKeyboardHidden
- FMX.Forms.TVKStateChangeMessage
- FMX.Forms.TVKStateChangeMessage.KeyboardVisible
- FMX.Forms.TVKStateChangeMessage.KeyboardBounds