Home > comp > gb.qt4 > dialog > filter 
 en fr de es it pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Voorgaande  Volgende  Bewerken  Hernoemen  Undo  Search  Administratie  
Handleiding  
Waarschuwing Deze pagina is niet vertaald.  Zie Engelse versie 
Dialog.Filter (gb.qt4)
Static 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.

Voorbeeld

Dialog.Title = "Choose a file"
Dialog.Filter = [ "*.png;*.jpg;*.jpeg;*.bmp", "Picture files", "*.svg;*.wmf", "Drawing files" ]
Dialog.Path = "/home/hjh/spiele/sudoku"
IF Dialog.OpenFile() THEN
  RETURN ' User pressed Cancel - does not want to open any file
ENDIF
' User did select a file