FMX.Forms.TVKStateChangeMessage
Delphi
TVKStateChangeMessage = class(System.Messaging.TMessage)
C++
class PASCALIMPLEMENTATION TVKStateChangeMessage : public System::Messaging::TMessageBase
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | FMX.Forms |
Description
Message sent when the state of the virtual keyboard of the system running your application changes.
TVKStateChangeMessage provides the following properties:
- KeyboardVisible indicates whether the virtual keyboard is visible (
True
) or not (False
). - KeyboardBounds indicates the position and dimensions of the virtual keyboard. If the keyboard is not visible, KeyboardBounds is equal to TRect.Empty.
Platform Support
FireMonkey only sends this type of message on Android, iOS, and Windows.
See Also
- System.Messaging (Delphi) code example
- System.Messaging (C++) code example