Does the File Dialog need an "Asynchronous" option

Started by bazzacad · 2009-07-02 18:51 UTC · 2 replies · SMF topic #838

I'm trying to run this code:


(defun c:AddCalcLink_opnLink_cmdOK_OnClicked (/ row)
  (setq FileLink (dcl_FileExplorer_GetPathName AddCalcLink_opnLink_FileExplorer))
  (dcl_Form_Close AddCalcLink_opnLink)
  (setq PT (getpoint "\nPick point: "))
)


And the code is hanging on the getpoint.... I'm I missing something?
You need to call (getpoint) *after* (dcl_Form_Show) returns.
Cool thx. I know I was doing something easy/stupid wrong.. :)