TCnFolderBrowserDialog Class

Prompts the user to select a folder.

Namespace: CNClrLib.Component.FolderBrowserDialog
TComponent
  CNClrLib.Control.Base.TClrBaseComponent
    CNClrLib.Component.FolderBrowserDialog.TCnFolderBrowserDialog
type
 TCnFolderBrowserDialog = class(TClrBaseComponent)
 end;

The TCnFolderBrowserDialog type exposes the following members.

Show:
 NameDescription
Create(TComponent)

Creates and initializes a TCnFolderBrowserDialog instance. (Overrides TClrBaseComponent.Create(TComponent).)

Destroy

Frees the resources allocated with a TCnFolderBrowserDialog instance. (Overrides TClrBaseComponent.Destroy.)

Top
Show:
 NameDescription
DefaultClrObject

Get the common language runtime object interface for this component. (Inherited from TClrBaseComponent.)

Description

Gets or sets the descriptive text displayed above the tree view control in the dialog box.

RootFolder

Gets or sets the descriptive text displayed above the tree view control in the dialog box.

SelectedPath

Gets or sets the path selected by the user.

ShowNewFolderButton

Gets or sets a value indicating whether the New Folder button appears in the folder browser dialog box.

Top
Show:
 NameDescription
Dispose

Releases the resources used by the Component. (Inherited from TClrBaseComponent.)

DoGetDefaultClrObject

Represents method DoGetDefaultClrObject. (Inherited from TClrBaseComponent.)

DoGetDotNetBaseComponent

Represents method DoGetDotNetBaseComponent. (Overrides TClrBaseComponent.DoGetDotNetBaseComponent.)

GetClrObject

Represents method GetClrObject. (Inherited from TClrBaseComponent.)

RegisterEventCallBack(ClrWString,Pointer)

Add an event to the instance using the specified event name and function pointer which is the event handler. The RegisterEventCallBack method does not directly add the event handler to the event. A hooking mechanism is used such that if the event is fired, the hook event is also fired which in turn calls the function pointer. (Inherited from TClrBaseComponent.)

RegisterEventSource

Register the Delphi object which will raise the .Net event handler. (Inherited from TClrBaseComponent.)

Reset

Resets properties to their default values.

ShowDialog

Overloaded. Runs a common dialog box with a default owner.

ShowDialog(TWinControl)

Overloaded. Runs a common dialog box with the specified owner.

UnRegisterEventCallBack(ClrWString,Pointer)

Remove an event from the instance using the specified event name and function pointer which is the event handler. (Inherited from TClrBaseComponent.)

UnRegisterEventSource

Unregister the Delphi object which raised the .Net event handler. (Inherited from TClrBaseComponent.)

Top

See C:\Users\Public\Documents\CrystalNet Technologies\.Net VCL for Delphi Demo Folder after installation for examples of how to use this component.