Skip to content

TSdlDialogFileFilter

An entry for filters for file dialogs.

AName is a user-readable label for the filter (for example, "Office document").

APattern is a semicolon-separated list of file extensions (for example, "doc;docx"). File extensions may only contain alphanumeric characters, hyphens, underscores and periods. Alternatively, the whole string can be a single asterisk ("*"), which serves as an "All files" filter.

Definition

Unit: Neslib.Sdl3.Additional

type TSdlDialogFileFilter = record ... end;

See Also

Fields

Name Description
Name A user-readable label for the filter (for example, "Office document").
Pattern Semicolon-separated list of file extensions (for example, "doc;docx").

Field Descriptions

Name

A user-readable label for the filter (for example, "Office document").

var Name: String

Type: String


Pattern

Semicolon-separated list of file extensions (for example, "doc;docx").

File extensions may only contain alphanumeric characters, hyphens, underscores and periods. Alternatively, the whole string can be a single asterisk ("*"), which serves as an "All files" filter.

var Pattern: String

Type: String