string wb_sys_dlg_open (int parent [, string title [, string filter[, string path[, string filename]]]])
Displays the standard Open dialog box. Returns the selected file name, if any, or a blank string if the dialog box was canceled. Returns NULL if not successful.
parent is a handle to the WinBinder object that will serve
as the parent for the dialog box.
title
is the string to be displayed as the dialog box caption.
filter is
an two-dimensional array composed of pairs of file descriptions and valid file
name patterns (usually file extensions). If filter is NULL, the dialog
box will display a default "All files" filter. The filter takes the
following generic form:
array(array(descr1, pat1) [, array(descr2, pat2) [, ...]])
path is an folder used to initialize the dialog box.
filename
is optional. If parameter filter is NULL, the file
extension will be used as the filter instead.
|
// How to create a file pattern filter and open a system dialog box function process_main($window, $id) |
wb_sys_dlg_save
Dialog functions