Page 1 of 1
filedialog and the CANCEL button
Posted: Wed Jun 27, 2007 9:48 am
by PaPi
Hi, how can I use the cancel button on filedialog? When I will save an file, and give an FileName, then I press the button OPEN. Bat, when I press mthe button CANCEL, the filedialog write (save) the file too.
PaPi
filedialog and the CANCEL button
Posted: Thu Jun 28, 2007 12:03 pm
by Marco
Do you mean filedialog of the fnxeditor or a filedialog in a program?
best regards
filedialog and the CANCEL button
Posted: Thu Jun 28, 2007 2:26 pm
by PaPi
Filedialog in my programm. There are for example event OnFolderChange, but isn`t (I missed) On CancelPressed...
PaPi
filedialog and the CANCEL button
Posted: Fri Jun 29, 2007 3:55 pm
by Marco
Yes there is
dim filedlg as filedialog
if filedlg.show=true then
? do something
end if
or
if filedlg.show=false then exit sub
best regards