|
- Events managed by default
- Optional events
- Filtering records (browsing TreeView Table control only)
- Before displaying the automatic tooltip of scrollbar
Events associated with TreeView Table controls
Several optional events can be managed. To manage an optional event, simply select it in the icon bar of the code window (bottom right).
You can manage, for example: - the mouse hover over the control,
- left mouse button down, up, with a double click,
- the right mouse button down, up, with double click,
- the mouse wheel, etc.
Filtering records (browsing TreeView Table control only) The event "Filtering the records" is run right after a row of the TreeView Table control is displayed. Therefore, it is run: - when initializing the control.
- whenever a row is displayed in the TreeView Table control.
This event is used to filter the records displayed in the TreeView Table control. To implement a filter, the event "Filtering the records" must return a value: - True to specify that the record matches to the filter and that it must be displayed.
- False to specify that the record does not match the filter and that it must not be displayed.
- Cancel to stop reading the data source of the TreeView Table control (very rare case).
Example:
0. This data comes from the date file or from the query linked to the control. If an automatic filter is applied on the TreeView Table control ( TableEnableFilter or filter enabled directly by the user), the filter defined by the event "Filtering records" is added to the automatic filter. Before displaying the automatic tooltip of scrollbar Versions 17 and later New in version 17
This page is also available for…
|
|
|
| |
| Click [Add] to post a comment |
|
| |
|
| |
| |
| |
| |
| |
| |
| | |
| |