Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Start-dir AskDirectory positioning askdirectory
If you specify a blank string for browse-root...this will allow the entire file system (all drives, directories, and network shares) to be browsed.
Start-dir: Directory which will be selected by default when the dialog box is initially displayed.
NOTE:If you give an INVALID start-dir name, the dialog will display the browse-root...
check to see if the start-dir parameter your specifying is a valid directory path....
For example, a browse-root parameter of C:\WinBatch\ has the same effect as specifying C:\WinBatch, but a start-dir parameter of C:\WinBatch\System\ causes the dialog to open in C:\WinBatch, whereas a start-dir parameter of C:\WinBatch\System causes the desired effect of opening the dialog in the C:\WinBatch\System directory.
The AskDirectory and AskFileName seem to have their own idea where to come up.
AskFileName attempts to center itself on the application. But since WinBatch is usually and icon, it open up near the icon.
AskDirectory seems, for some bizzare reason, to prefer the middle upper left ofthe screen.
The only one you can affect is AskFilename, possibly by doing a
BoxOpen("Hi","There")before the AskFileName will open WinBatch in the middle of the screen, then AskFilename will try and center itself on that.
Otherwise...If you make your on Dialog boxes with the dialog editor, you have some control over where it opens, especially if you prefer the upper left of the screen.
Article ID: W13039
Filename: AskDirectory problem.txt
File Created: 2002:03:07:15:36:18
Last Updated: 2002:03:07:15:36:18