2008-11-24 23:57 UTC
Hi All -
I am trying to work with OpenDCL and am having problems with the File Dialog Box. I have a project with (1) Modal dialog (Form2), (1) modeless dialog(Form1), and (1) file dialog(Form3). Initially, I was not able to get the File Dialog to display using (Setq rValue (dcl_Form_Show LispFiles_Form3)) but was able to get it to load using (Setq rValue (dcl_Form_Show "LispFiles" "Form3")). When I try to use one of the functions such as (Setq rValue (dcl_FileDlg_GetFileNameList LispFiles_Form3_CustFileDlg)) I get an error message saying "The control argument passed to FileDlg_GetFileNameList was NIL.". I did not find much on File Dialogs in the Help File and was hoping that someone might point me in the right direction. I am using A2006 and 4.1.2.2 of OpenDCL.
Thanks
Leman
I am trying to work with OpenDCL and am having problems with the File Dialog Box. I have a project with (1) Modal dialog (Form2), (1) modeless dialog(Form1), and (1) file dialog(Form3). Initially, I was not able to get the File Dialog to display using (Setq rValue (dcl_Form_Show LispFiles_Form3)) but was able to get it to load using (Setq rValue (dcl_Form_Show "LispFiles" "Form3")). When I try to use one of the functions such as (Setq rValue (dcl_FileDlg_GetFileNameList LispFiles_Form3_CustFileDlg)) I get an error message saying "The control argument passed to FileDlg_GetFileNameList was NIL.". I did not find much on File Dialogs in the Help File and was hoping that someone might point me in the right direction. I am using A2006 and 4.1.2.2 of OpenDCL.
Thanks
Leman