Home / comp / gb.form / fileview / filter 
FileView.Filter (gb.form)
Syntax
PROPERTY Filter AS String[]
Returns or sets the filters used by the control for only displaying specific file types.

This property receives a string array having the following structure:

A filter string is a list of file patterns with wildcards, separated by a semicolon.

A filter description can be any string. The filter string is automatically appended to the filter description.

Examples

FileChooser1.Filter = [ "*.png;*.jpg;*.jpeg;*.bmp", "Picture files", "*.svg;*.wmf", "Drawing files" ]