auto_SetFileNameDialogInitΒΆ

auto_SetFileNameDialogInit sets the search filter and search path for the function auto_GetFileNameDialog.

bool = auto_SetFileNameDialogInit(ssFilter)
bool = auto_SetFileNameDialogInit(ssFilter, ssSearchPath)

Return Value

If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).

Parameters

ssFilter

ssFilter is a string with the search filter. The filters are separated by one semicolon ";". Example: "*.xls; *.nc; DE*.TXT; WOT_Test?.dat".

ssSearchPath

ssSearchPath is a string with the search path. The different path names are separated by one semicolon ";". Example: "c:/data/engine2; d:/data/engine1; d:/data/engine3".

Example

auto_SetFileNameDialogInit("*.nc; *.dat; *.csv", "c:/mydata/test1/");
auto_GetFileNameDialog(3);

id-1106971