Vcl.StdActns.TBrowseForFolder

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.StdActns.TCommonDialogActionVcl.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTBrowseForFolder

Delphi

TBrowseForFolder = class(TCommonDialogAction)

C++

class PASCALIMPLEMENTATION TBrowseForFolder : public TCommonDialogAction

Properties

Type Visibility Source Unit Parent
class public
Vcl.StdActns.pas
Vcl.StdActns.hpp
Vcl.StdActns Vcl.StdActns

Description

TBrowseForFolder is the standard action for displaying a Browse For Folder dialog.

Add TBrowseForFolder to an action list to add a common Browse For Folder dialog to your application. Controls such as menu items and tool buttons linked to this action cause the application to display a Browse For Folder dialog when invoked. Use the OnAccept event to respond after the user selects a folder name in the Browse For Folder dialog or the OnCancel event to respond when the user cancels from the dialog. In the event handler for these events, you can read the folder name from the dialog, specified by the Folder property.

See Also