FBrowse.pas
------------------------------------------
by Pablo Pissanetzky
pablo@neosoft.com
http://www.neosoft.com/~pablo
------------------------------------------

TFolderBrowse is a component for Windows 95 only!
It opens the familiar tree view control used in Explorer
and allows the user to select a folder. It encapsulates the
Windows 95 function SHBrowseForFolder.

Published Properties:

  Title : string;

    This is the title that is displayed above the tree view control.

  Directory : string;

    The directory is the path of the folder that is selected when the
    dialog is first shown. After you call the execute method and it
    returns True, Directory will have the complete path to the selected folder.

Public Methods:

  function Execute( Form : TForm ) : Boolean;

    The Execute method takes one argument, the form that will be the parent
    for the folder browse dialog. It returns True if the user clicked OK and
    selected an existing folder. Otherwise, it returns False.
    On successful execution, the Directory property will contain the full
    path to the selected folder.


Enjoy,
Pablo Pissanetzky.



