FMX.Mobile.SettingsProject Sample (Object Pascal)

From Appmethod Code Examples
Jump to: navigation, search

This is a sample that shows a set of dialog boxes similar to those used for mobile device settings, using FireMonkey.


You can find the FireMonkeyMobile SettingsDemo sample project at:


This application uses TChangeTabAction methods and properties to implement actions on TListBoxItems.

How to Use the Sample

  1. Navigate to the one of the locations given above, and open:
    • Object Pascal: SettingsDemo.dproj
    • C++: SettingsDemo.cbproj
  2. Press F9 or choose Run > Run.


The sample files are SettingsProjectForm, the main form that constitutes the user interface for the FireMonkeyMobile Settings Project Sample application and SettingsDemo, the project itself.


FireMonkey TSettingsForm represents the main window of the sample. It contains the following components:


  • The FireMonkeyMobile Settings Project Sample application uses the TChangeTabAction method Execute and the Tab property to change the action on the respective tab.
  • The sample also provides an example for the usage of TSwitch.


See Also