# Filter

`STATIC PROPERTY Filter AS String[]`

Returns or sets the filters used in the file standard dialog.

This property receives a string array whose each element represents one filter.

Each filter string must follow the following syntax:

- The filter name.
- A space.
- A opening bracket.
- One or more file patterns, separated by semicolons.
- A closing bracket.

Example

    Dialog.Title = "Choose a file"
    Dialog.Filter = [ "Picture files (*.png; *.jpg; *.jpeg; *.bmp)", "All files (*.*)" ]
    Dialog.OpenFile