From Appmethod Code Examples
Jump to: navigation, search

This is a sample that shows the use of a popup keyboard in desktop applications using FireMonkey.


You can find the ScrollableFormDemo sample project at:


This application illustrates how to use a virtual keyboard on a scrolable form in desktop applications.

How to Use the Sample

  1. Navigate to the location given above, and open ScrollableFormDemo.dproj.
  2. Press F9 or choose Run > Run.
  3. To observe the functionality of the Virtual Keyboard, follow the steps:
  • To invoke the virtual keyboard, use one of the TEdit controls or the TMemo control. Observe that for the Read only edit control and Disable edit control the virtual keyboard is not displayed.
  • To close the virtual keyboard, use the No edit control button.
  • Observe that there are different virtual keyboard types for the edit controls and when the keyboard is displayed, the application moves the entry field to a position above the keyboard. For correct functioning, you should also increase the size of the working region.


KeyboardDemoForm represents the main form of the sample. It contains objects like:



See Also