JVCL Help:TJvTreeView.OnComparePage
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvTreeView.OnComparePage Event
[+] TJvTreeView Events
[+] TJvTreeView Methods
[+] TJvTreeView Properties
Search in JVCL Help
Search in all projectsSummary
Occurs when the tree view needs to determine which page to activate in a page control.
Pascal
TJvTreeViewComparePageEvent = procedure (Sender: TObject; Page: TTabSheet; Node: TTreeNode; var Matches: Boolean) ofobject;
propertyOnComparePage: TJvTreeViewComparePageEvent;
Parameters
Parameters | Description |
Node | The current node being compared. |
Matches | Set this to true if Page is a match to Node. |
Sender | The tree view that triggered the event. |
Page | The current page being compared. |
Description
Assign a handler to this event to control which page is selected in a page control when a specific node is clicked. This event is only triggered if PageControl is assigned.
If no handler is assigned, TJvTreeView selects the first tab in the page control where the Caption matches the Text of the selected node.
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