Custom File dialog box

Started by pcmanojkumar · 2011-10-31 12:28 UTC · 2 replies · SMF topic #1719

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
Hello, and welcome to this board. Please have a look at {2}. The Show-method of CustomFileDialog recognizes the given argument as the starting path.

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