FMX.Windows10NavigationPane Sample

From Appmethod Code Examples
Jump to: navigation, search

This sample illustrates how to use the TMultiView component to create an application with the Master Pane in the NavigationPane mode.

Location

You can find the FireMonkeyMobile Windows10NavigationPane sample project at:

Description

The Windows10NavigationPane sample shows how to create an application that implements the "master-detail" interface and illustrates how to use the TImageList component to display icons on the master panel. The used styles are suitable for Windows 10 desktop applications.

How to Run the Sample

  1. Navigate to one of the locations given above and open:
    • Object Pascal: NavigationPaneDemo.dproj.
    • C++: NavigationPaneCpp.cbproj.
  2. In the Object Inspector, ensure that the Mode property of the TMultiView component is set to NavigationPane.
  3. Press Shift+Ctrl+F9 or choose Run > Run Without Debugging.

How It Works

After you start this sample application, it displays the following form:

Win10NavigationPane collapsed.png

Note: This screen displays the 64-bit Windows 7 desktop application form as an example. However, the forms for other target platforms provide similar functionality.

To expand the navigation pane, click the master button Win10 MasterButton.png:

Win10NavigationPane.png

See Also

Personal tools