Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Learn How To Select Key Entry Types With The FMX.KeyboardTypes Sample In RAD Studio For Android And iOS Devices

Location

You can find the KeyboardTypes sample project at:

Description

This application shows how to use different types of Virtual Keyboard.

How to Use the Sample

  1. Navigate to the one of the locations given above, and open:
    • Delphi: VirtualKeyboardDemo.dproj
    • C++: VirtualKeyboardDemo.cbproj
  2. Press F9 or choose Run > Run.
  3. Observe that different Virtual Keyboard types (AlphabetNumberPadEmailAddressPhonePadURL, and others) activate when you place input focus into different edit controls: First NameEmailPhone, and others.

Classes

TVKBaseForm, named VKBaseForm, is the main window of the KeyboardTypes sample. It contains the VertScrollBox1 vertical scrolling area containing the MainLayout1 layout. MainLayout1 contains the following components:

Implementation

If you want to visit the original post, please visit the link below:

http://docwiki.embarcadero.com/CodeExamples/Sydney/en/FMX.KeyboardTypes_Sample

You can also use Windows Apps Studio to create applications for Android and iOS devices, and then use the FMX.KeyboardTypes sample to replicate the Select Key Entry Types.

Exit mobile version