FMX.StdActns.TVirtualKeyboard
Delphi
TVirtualKeyboard = class(TObjectViewAction)
C++
class PASCALIMPLEMENTATION TVirtualKeyboard : public TObjectViewAction
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.StdActns.pas FMX.StdActns.hpp |
FMX.StdActns | FMX.StdActns |
Description
Represents the on-screen keyboard.
To display the on-screen keyboard, which is given through the TVirtualKeyboard component, do the following steps:
- Add a TActionList and a TButton to the form.
- Double-click the TActionList to open the Action List editor.
- Click the arrowhead beside the icon, select New Standard Action > Edit > TVirtualKeyboard, and click OK.
- In the Object Inspector, set the Action property of the TButton to be the TVirtualKeyboard you just added to the TActionList.
- Run the project.
The type of the TVirtualKeyboard is set by the KeyboardType component.