FMX.Forms.TCommonCustomForm.VirtualKeyboardChangeHandler

From RAD Studio API Documentation
Jump to: navigation, search

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