2010-02-15 16:26 UTC
I have a text button on Form 2 which successfully opens a File Explorer dialog box Form 3.
On selecting a file or creating a new file how do I set the variable dat_loc to the file name? It is currently returning nil.
Does clicking Open on the dialog box carry out a close function?
(defun c:dat_Form2_TextButton3_OnClicked (/)
(dcl_Form_Show dat_Form3)
);defun
(defun c:dat_Form3_OnClose (/)
(setq dat_loc (dcl_FileExplorer_GetFileName dat_Form3))
);defun
On selecting a file or creating a new file how do I set the variable dat_loc to the file name? It is currently returning nil.
Does clicking Open on the dialog box carry out a close function?
(defun c:dat_Form2_TextButton3_OnClicked (/)
(dcl_Form_Show dat_Form3)
);defun
(defun c:dat_Form3_OnClose (/)
(setq dat_loc (dcl_FileExplorer_GetFileName dat_Form3))
);defun