View contents of this chapter

The Directory List Box

Use the directory list box control to let users select a directory folder. Use this control to display a hierarchical list of directories. You can create dialog boxes that, for example, enable a user to open a file from a list of files in all available directories.

Remember that the directory list box control can't determine which drive is selected in the drive list box. You have to write code to synchronize them with the Drive List Box control.

The directory list box control first displays the directory from which the user launched the application. You can override this default drive by using VB code to point the control to another directory.

The File List Box

A File List Box control locates and lists files in the directory specified by the Path property at run time. Use this control to let users select a file.

The file list box control can't determine which drive is selected in the drive list box or which directory is selected in the directory list box. You have to write code to synchronize these controls.



© Universal Teacher Publications        INDEX Previous Screen Next Screen