Custom File dialog box

Started by pcmanojkumar, October 31, 2011, 05:28:25 AM

Previous topic - Next topic

pcmanojkumar

Hi all,

Can you please tell me, how we can give a default path and filename while intailize the custom File dialog box; is there is any 'set' functions?.

Eg.

(defun c:Forms_AccFileDlg_OnInitialize (/)
  (setq new_dbPath (vl-registry-read "HKEY_CURRENT_USER\\Software\\Autodesk\\DASO" "DasoDBpath"))
    (if (and new_dbPath (/= "" new_dbPath))
       (if (findfile new_dbPath)
           (dcl_Control_Set?????? ???????? ??????)
Regards,
Manoj

Fred Tomke

Hello, and welcome to this board. Please have a look at here. The Show-method of CustomFileDialog recognizes the given argument as the starting path.

Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

pcmanojkumar

Thanks buddy... I am learning the Open DCL; Its cool....