OnGetInfoTip - AbstractTreeView
Fired when info tips for an item is requested
Type: Event
Parameters
| Parameter | Type | Description |
|---|---|---|
| hItem | Handle | Item handle |
| ByRef sInfoTip | String | Info tip to display |
Syntax
Procedure OnGetInfoTip Handle hItem ByRef String sInfoTip
Description
When pbEnableInfoTips is True, OnGetInfoTip is called to get an info tip when the user hovers over a TreeView item.
Return the info tip to display for the item in the by reference sInfoTip parameter.
Sample
This sample shows how to display an info tip for a TreeView item.
Procedure OnGetInfoTip Handle hItem String ByRef sInfoTip
String sVal
Get ItemLabel hItem to sVal
Move ("Tool info for item " * String (hItem) * sVal) to sInfoTip
End_Procedure