Quick Find: Search for:

 Total Access Components
Control Tour

Return to Components Home
 

 
 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

About Box

AVI (Video)

Bitmap Effects

Border
Browse for Folder New!
CD Player
Clipboard
Clock
Common Dialogs
Date Time Picker New!
Digital Display
Enhanced Button
Gauge
Icon Menu
INI File
Marquee
Notes
Popup Menu
Progress Meter
Registry
Resize
Slider
Spin Button
Splitter
System Info
Tab Strip
Text Effects
Timer
Wave
 

 

Total Access Components Tour: Browse for Folder Control

The browse for folder control allows you to display a browse for folder dialog, and specify whether your users can select a folder, a computer, a printer, or a file.

There are four basic steps involved in using the Browse for Folder control:

  1. Insert the control into your form. Use the Insert|ActiveX Control menu to place the control anywhere on your form.
     
  2. Set the appropriate properties. Define the behavior and appearance of the dialog by setting the custom control's properties, either through the properties sheet or programmatically through VBA code. Refer to the property list below for information about customizing the dialog.
     
  3. Call the dialog. Use the Show method to display the browse for folder dialog.
     
  4. Get the Return Information. When the user selects a path from the dialog, the Browse for Folder control sets the Value property to the path that was selected.

Browse for Folder  Properties

Name

Description

BrowseForComputer

True to limit selection to a computer, or false to allow folder/file selection as well.

BrowseForPrinter

True to limit selection to a printer, or false to allow folder/file selection.

BrowseIncludeFiles

True to allow file selection, or false to limit selection to the directory level.
DontGoBelowDomain True to disallow selecting a network computer.

EditBox

True to display a field for typing a path, or false to force the user to use the treeview.
ReturnFSAncestors True to limit selection to file system ancestors. (An ancestor is a subfolder that is beneath the root folder.)

ReturnOnlyFSDirs

True to limit selection to file system directories.
Title The string displayed in the dialog box.
Validate True to validate the path that the user selects.
Value The selected path.
Contact Us  l   Web questions: Webmaster   l   Copyright © 2008 FMS, Inc.

Celebrating 22 Years of Software Excellence