# SalToolTipManager

Namespace: **PPJ.Runtime.Windows.QO**

Assembly: **PPJ.Runtime.49** (4.9.0.0)

Class for managing tool tips.

{% tabs %}
{% tab title="C#" %}

```csharp
public class SalToolTipManager : SalFunctionalClass
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class SalToolTipManager
    Inherits SalFunctionalClass
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)SalToolTipManager()

Default constructor.

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)SalToolTipManager(derived)

Multiple inheritance constructor.

| Name        | Type                                                                | Description |
| ----------- | ------------------------------------------------------------------- | ----------- |
| **derived** | [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) |             |

## Properties

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-e4f8ed47a52590951f725a10c269555e81d41d81%2Fstatic.png?alt=media)ToolTip

[ToolTip](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager): Returns the single tool tips instance used by SalToolTipManager.

## Methods

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)AddTool(ctrl, sTip, sStatus)

Associate a tip with a control. The control can be any type of window.

| Parameter   | Type                                                                                                        | Description                                  |
| ----------- | ----------------------------------------------------------------------------------------------------------- | -------------------------------------------- |
| **ctrl**    | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control)                         | Target control on which to execute the call. |
| **sTip**    | [SalString](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager) |                                              |
| **sStatus** | [SalString](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager) |                                              |

**Returns:** [SalBoolean](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)AddTool(ctrl, sTip, sStatus, bTracking)

Associate a tip with a control. The control can be any type of window.

| Parameter     | Type                                                                                                         | Description                                  |
| ------------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------------------- |
| **ctrl**      | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control)                          | Target control on which to execute the call. |
| **sTip**      | [SalString](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager)  |                                              |
| **sStatus**   | [SalString](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager)  |                                              |
| **bTracking** | [SalBoolean](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager) |                                              |

**Returns:** [SalBoolean](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)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](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control)                          | Target control on which to execute the call. |
| **sTip**      | [SalString](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager)  |                                              |
| **sStatus**   | [SalString](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager)  |                                              |
| **bTracking** | [SalBoolean](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager) |                                              |
| **nMessage**  | [SalNumber](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager)  |                                              |

**Returns:** [SalBoolean](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)DeleteTool(ctrl)

Stop displaying a control tip for a window

| Parameter | Type                                                                                | Description                                  |
| --------- | ----------------------------------------------------------------------------------- | -------------------------------------------- |
| **ctrl**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) | Target control on which to execute the call. |

**Returns:** [SalBoolean](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)GetStatusText(ctrl)

Get the status text defined for a control.

| Parameter | Type                                                                                | Description                                  |
| --------- | ----------------------------------------------------------------------------------- | -------------------------------------------- |
| **ctrl**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) | Target control on which to execute the call. |

**Returns:** [SalString](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)GetTipText(ctrl)

Get the tip text defined for a control.

| Parameter | Type                                                                                | Description                                  |
| --------- | ----------------------------------------------------------------------------------- | -------------------------------------------- |
| **ctrl**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) | Target control on which to execute the call. |

**Returns:** [SalString](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)IsTool(ctrl)

Indicate whether this window has been added as a control.

| Parameter | Type                                                                                | Description                                  |
| --------- | ----------------------------------------------------------------------------------- | -------------------------------------------- |
| **ctrl**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control) | Target control on which to execute the call. |

**Returns:** [SalBoolean](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)SetStatusText(ctrl, sText)

Change the text displayed on the status bar

| Parameter | Type                                                                                                        | Description                                  |
| --------- | ----------------------------------------------------------------------------------------------------------- | -------------------------------------------- |
| **ctrl**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control)                         | Target control on which to execute the call. |
| **sText** | [SalString](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager) |                                              |

**Returns:** [SalBoolean](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)SetTipText(ctrl, sText)

Change the text displayed as a tip.

| Parameter | Type                                                                                                        | Description                                  |
| --------- | ----------------------------------------------------------------------------------------------------------- | -------------------------------------------- |
| **ctrl**  | [Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control)                         | Target control on which to execute the call. |
| **sText** | [SalString](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager) |                                              |

**Returns:** [SalBoolean](https://desktop-api.iceteagroup.com/ppj.runtime.49/qo/ppj.runtime.windows.qo.saltooltipmanager).
