dcl_SelectFiles for new file to create?

Started by jmaeding · 2011-01-27 00:07 UTC · 2 replies · SMF topic #1579

I ran into issues where modeless forms do not transfer focus to the getfiled properly (ver 6 of opendcl...).
So I wanted to use the built in file functions of odcl.
Looks like dcl_SelectFiles only returns a filename if that file exists.
Not good, as I typically use getfiled for both selecting files, and getting filenames to create.
I looked at dcl_SelectFolder, but its junky compared to the file selction dialog.

Are others seeing the getfiled lock up when shown from a modeless?
any workarounds?
Try calling (dcl_SetCmdBarFocus) {2}
Before calling (getfiled)
ok, that seemed to do it.
I used that other places, but not when showing dialogs.  thx a bunch for the tip.