JVCL Help:TJvBrowseForFolderDialog.SetOKEnabled

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

Search in JVCL Help

 
Search in all projects
 

Summary

Enables or disables the Browse dialog box's OK button.


Pascal

 procedureSetOKEnabled(constValue: Boolean);


Parameters

Parameters Description
const Value: Boolean Set to true to enable the OK button. To disable the OK button, set Value to false.


Description

Call SetOKEnabled to enable or disable the Browse dialog box's OK button. For example you can call SetOKEnabled in an OnChange event handler to enable or disable the button depending on the newly selected item. But for this specific purpose you can also use OnAcceptChange.
Calls to SetOKEnabled do have no effect while the dialog is not active.


See Also

TJvBrowseForFolderDialog.OnAcceptChange, TJvBrowseForFolderDialog.OnChange, TJvBrowseForFolderDialog.OnValidateFailed, TJvBrowseForFolderDialog.SetOKText


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