filedialog and the CANCEL button

In this category you can exchange your programming questions and solutions.
Post Reply
PaPi
Posts: 114
Joined: Wed May 16, 2007 11:55 am

filedialog and the CANCEL button

Post: # 87Post PaPi
Wed Jun 27, 2007 9:48 am

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

Marco
Site Admin
Posts: 246
Joined: Sat Sep 15, 2018 8:41 pm

filedialog and the CANCEL button

Post: # 88Post Marco
Thu Jun 28, 2007 12:03 pm

Do you mean filedialog of the fnxeditor or a filedialog in a program?

best regards

PaPi
Posts: 114
Joined: Wed May 16, 2007 11:55 am

filedialog and the CANCEL button

Post: # 89Post PaPi
Thu Jun 28, 2007 2:26 pm

Filedialog in my programm. There are for example event OnFolderChange,  but isn`t (I missed) On CancelPressed...
PaPi

Marco
Site Admin
Posts: 246
Joined: Sat Sep 15, 2018 8:41 pm

filedialog and the CANCEL button

Post: # 90Post Marco
Fri Jun 29, 2007 3:55 pm

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

Post Reply