Unit CastleFmxUtils

Classes, Interfaces, Objects and Records
Types
Constants
Variables

Description

Utilities for Delphi FMX (FireMonkey).

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.

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

This item has no description.


Generated by PasDoc 0.16.0-snapshot.