JVCL Help:TJvBrowseForFolderDialog.OnChange

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs after the selection has changed in the Browse dialog box.


Pascal

 TJvDirChange = procedure (Sender: TObject; constDirectory: string) ofobject;
propertyOnChange: TJvDirChange;


Parameters

Parameters Description
Directory Specifies the newly selected item.
Sender The TJvBrowseForFolderDialog component that has sent this event.


Description

Write an OnChange event handler to take specific actions when the user selects an item in the Browse dialog box. For example you can call SetStatusText to change the status text depending on the newly selected item.
Alternatively use the OnAcceptChange event to enable or disable the Browse dialog's OK button, depending on the newly selected item.


See Also

TJvBrowseForFolderDialog.OnAcceptChange, TJvBrowseForFolderDialog.OnValidateFailed, TJvBrowseForFolderDialog.SetOKEnabled


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page