ScienceSoft, LLC
www.ScienceSoft.net
TOC PREV NEXT INDEX


CHAPTER 11: Using the Filebox Popup

When NMRanalyst requires a directory name or a filename, the file-selection popup is displayed. This popup is referred to as the Filebox and the window title indicates which item to specify.

A requested item can be typed in the lower Enter file name input field. Alternatively, the Enter file name item can be assembled interactively by selecting items from the Folders and Files lists. The [OK] button exits the Filebox and returns the specified Enter file name entry to the calling application. The [Update] button updates the Folders and Files lists according to the specified Enter path or folder name string. The [Cancel] button quits the Filebox.

11.1 Interactive Item Specification

Selecting a directory or an existing file from a list is less error-prone than directly typing its name in the Enter file name input field. The string in the Enter path or folder name input field contains a directory. The Filebox provides a list of subdirectories of the directory specified in the Enter path or folder name field. Every directory contains a pointer to the parent directory represented in the list by two dots (..). It allows traversing the directory tree upwards. To change all displayed lists to the parent directory of the currently displayed directory, position the Folders list (using the vertical scroll bar) until the parent link (..) shows, double-click it using the left mouse button. To traverse the directory tree in the downward direction, double-click the subdirectory name from the Folders list.

If the specification of a file name is requested, locate the directory containing the file. Side-by-side with the Folders list is a Files list containing the files currently in the directory specified in the Enter path or folder name input field. Select a file name by clicking on the name once. Then click [OK] to return the selected path/file name to the calling application. To specify a non-existing file name, select the directory where the file should reside as described above, and then type the new file name in the Enter file name input field.

The Enter path or folder name input field can be edited like the Enter file name input field. This allows changing the directory and file names displayed in the lists. Clicking on the [Update] button at the bottom of the window updates the lists according to the specified string.



ScienceSoft, LLC
www.ScienceSoft.net
TOC PREV NEXT INDEX