Unit CastleFmxUtils

Description

Utilities for Delphi FMX (FireMonkey).

Source: ../castle-engine/src/delphi/castlefmxutils.pas (line 17).

Uses

Overview

Functions and Procedures

procedure FileFiltersToDialog(const FileFilters: string; const Dialog: TOpenDialog; const AllFields: boolean = true); overload;
procedure FileFiltersToDialog(FFList: TFileFilterList; const Dialog: TOpenDialog; const AllFields: boolean = true); overload;

Description

Functions and Procedures

procedure FileFiltersToDialog(const FileFilters: string; const Dialog: TOpenDialog; const AllFields: boolean = true); overload;

Convert file filters into FMX Dialog.Filter, Dialog.FilterIndex. Suitable for both open and save dialogs (in FMX, TSaveDialog descends from TOpenDialog).

Input filters are either given as a string FileFilters (encoded just like for TFileFilterList.AddFiltersFromString), or as TFileFilterList instance.

Output filters are set as appropriate properties of given Dialog instance.

When AllFields is false, then filters starting with "All " in the name, like "All files", "All images", are not included in the output.

Source: ../castle-engine/src/delphi/castlefmxutils.pas (line 40).

procedure FileFiltersToDialog(FFList: TFileFilterList; const Dialog: TOpenDialog; const AllFields: boolean = true); overload;

This item has no description.

Source: ../castle-engine/src/delphi/castlefmxutils.pas (line 42).


Generated by PasDoc 0.17.0.snapshot.