JVCL Help:TJvWindowHook.Active

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

Search in JVCL Help

 
Search in all projects
 

Summary

Indicates whether or not the control is hooked.


Pascal

 propertyActive: Boolean;


Description

Use Active to determine or set whether the control specified by Control is hooked. When Active is false, no AfterMessage and BeforeMessage events will be triggered. When Active is true, the control specified by Control is hooked. Before the hooked control receives a message a BeforeMessage event with that message is fired. After the hooked control has handled that message an AfterMessage event will be fired.
At design time, set Active to true to make the control hooked when the application starts running (the default value is false). At run-time, use the HookControl or UnHookControl method to hook the control or remove the hook.


See Also

Control, HookControl, UnHookControl


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