FMX.FireFlow Sample

From RAD Studio Code Examples
Jump to: navigation, search

This sample illustrates how to create a photo gallery with FireMonkey.

Location

You can find the FireFlow sample project at:

Description

This application uses TViewport3D to create a 3D photo gallery. The user can open several photos from the computer and can navigate through them by using the TTrackBar or by clicking the next picture displayed.

  1. Navigate to one of the locations given above and open:
    • Delphi: FireFlow.dproj.
    • C++: FireFlow.cbproj.
  2. Press F9 or choose Run > Run. Press the Select button, select a picture from your computer, and press the Open button. A gallery with all the photos in the same folder with the picture you selected is displayed.

Classes

FireFlow - Powered by FireMonkey represents the main window of the sample. It contains the following components:

Implementation

  • When you run the application, the main window of the sample is displayed.
  • To display the TOpenDialog window, press the Select button.
  • To display a gallery with all the photos in the same folder with the photo you selected, select an image and press the Open button.
  • The TAniIndicator object is visible until the photos are uploaded into the gallery.
  • Once the photos are uploaded, the TTrackBar object is enabled, allowing you to navigate through the gallery.

Uses

See Also