SalToolTipManager
Namespace: PPJ.Runtime.Windows.QO
Assembly: PPJ.Runtime.49 (4.9.0.0)
Class for managing tool tips.
- C#
- VB.NET
public class SalToolTipManager : SalFunctionalClass
Public Class SalToolTipManager
Inherits SalFunctionalClass
Constructors
SalToolTipManager()
Default constructor.
SalToolTipManager(derived)
Multiple inheritance constructor.
| Name | Type | Description |
|---|---|---|
| derived | Object |
Properties
ToolTip
ToolTip: Returns the single tool tips instance used by SalToolTipManager.
Methods
AddTool(ctrl, sTip, sStatus)
Associate a tip with a control. The control can be any type of window.
| Parameter | Type | Description |
|---|---|---|
| ctrl | Control | Target control on which to execute the call. |
| sTip | SalString | |
| sStatus | SalString |
Returns: SalBoolean.
AddTool(ctrl, sTip, sStatus, bTracking)
Associate a tip with a control. The control can be any type of window.
| Parameter | Type | Description |
|---|---|---|
| ctrl | Control | Target control on which to execute the call. |
| sTip | SalString | |
| sStatus | SalString | |
| bTracking | SalBoolean |
Returns: SalBoolean.
AddToolEx(ctrl, sTip, sStatus, bTracking, nMessage)
Associate a tip with a control. The control can be any type of window.
| Parameter | Type | Description |
|---|---|---|
| ctrl | Control | Target control on which to execute the call. |
| sTip | SalString | |
| sStatus | SalString | |
| bTracking | SalBoolean | |
| nMessage | SalNumber |
Returns: SalBoolean.
DeleteTool(ctrl)
Stop displaying a control tip for a window
| Parameter | Type | Description |
|---|---|---|
| ctrl | Control | Target control on which to execute the call. |
Returns: SalBoolean.
GetStatusText(ctrl)
Get the status text defined for a control.
| Parameter | Type | Description |
|---|---|---|
| ctrl | Control | Target control on which to execute the call. |
Returns: SalString.
GetTipText(ctrl)
Get the tip text defined for a control.
| Parameter | Type | Description |
|---|---|---|
| ctrl | Control | Target control on which to execute the call. |
Returns: SalString.
IsTool(ctrl)
Indicate whether this window has been added as a control.
| Parameter | Type | Description |
|---|---|---|
| ctrl | Control | Target control on which to execute the call. |
Returns: SalBoolean.
SetStatusText(ctrl, sText)
Change the text displayed on the status bar
| Parameter | Type | Description |
|---|---|---|
| ctrl | Control | Target control on which to execute the call. |
| sText | SalString |
Returns: SalBoolean.
SetTipText(ctrl, sText)
Change the text displayed as a tip.
| Parameter | Type | Description |
|---|---|---|
| ctrl | Control | Target control on which to execute the call. |
| sText | SalString |
Returns: SalBoolean.