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);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | TCommonCustomForm |
説明
フォームの仮想キーボード イベントに対するリスナです。
TCommonCustomForm は、System.Messaging.TMessageManager.SubscribeToMessage メソッドを使用して、VirtualKeyboardChangeHandler リスナを TVKStateChangeMessage 仮想キーボード イベントに登録します。
VirtualKeyboardChangeHandler リスナは、KeyboardVisible および KeyboardBounds プロパティを、OnVirtualKeyboardShown および OnVirtualKeyboardHidden イベント ハンドラを呼び出すことによって処理します。
関連項目
- 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