JVCL Help:TJvChangeNotify.Active
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvChangeNotify.Active Property
[+] TJvChangeNotify Events
[+] TJvChangeNotify Methods
[+] TJvChangeNotify Properties
Search in JVCL Help
Search in all projectsSummary
Specify whether monitoring is activated or not.
Pascal
propertyActive: Boolean;
Description
Use Active to turn on and off monitoring of the directories in Notifications. Note that if FreeOnTerminate is true, the call to Active will return immediately, even if the thread is not closed yet. In this case you can't use code like: JvChangeNotify1.Active := false;
CheckForChangedFiles(); // thread might still be active here!
To avoid this situation, set FreeOnTerminate to false.
See Also
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