DRAGDROP (located in \TOOLKIT\SAMPLES\PM\DRAGDROP) demonstrates how to move files between directories by using the drag and drop operation of direct manipulation. This sample program creates a drop-down list box that contains a scrollable file name list of the current directory.

To change the current directory, select the Window option, type in the directory name, and press Enter. To change the current directory to one higher in the directory tree, select File from the menu bar, and then Open. The Select subdirectory window is displayed. Type in the name of the subdirectory, and then select OK.

DRAGDROP must be started twice, so that there are two running instances of the sample. Then, using a mouse, you can:

The file is now moved to the chosen directory of the first sample.


[Back] [Next]