property Item.TooltipTitle as String
Specifies the title of the item's tooltip.

TypeDescription
String A String expression that specifies the title of the item's tooltip.
The TooltipTitle property specifies the title for the item's tooltip. The Tooltip property assigns a HTML tooltip to an item, that's displayed only when the cursor hovers the item. The TooltipDelay property specifies the time until the tooltip is shown. Use the ToolTipPopDelay property specifies the period in ms of time the ToolTip remains visible if the mouse pointer is stationary within a control. Use the ToolTipWidth property to specify the width of the tooltip window. The ToolTipFont property specifies the tooltip's font. Use the Background(exToolTipAppearance) property indicates the visual appearance of the borders of the tooltips. Use the Background(exToolTipBackColor) property indicates the tooltip's background color. Use the Background(exToolTipForeColor) property indicates the tooltip's foreground color.

How can I assign a tooltip to an item?

VBA (MS Access, Excell...)

With ToolBar1
	With .Items.Add("ToolTip")
		.TooltipTitle = "Title"
		.Tooltip = "This is a bit of text that should be shown when cursor hovers the item"
	End With
	.Refresh 
End With

VB6

With ToolBar1
	With .Items.Add("ToolTip")
		.TooltipTitle = "Title"
		.Tooltip = "This is a bit of text that should be shown when cursor hovers the item"
	End With
	.Refresh 
End With

VB.NET

With Extoolbar1
	With .Items.Add("ToolTip")
		.TooltipTitle = "Title"
		.Tooltip = "This is a bit of text that should be shown when cursor hovers the item"
	End With
	.Refresh()
End With

VB.NET for /COM

With AxToolBar1
	With .Items.Add("ToolTip")
		.TooltipTitle = "Title"
		.Tooltip = "This is a bit of text that should be shown when cursor hovers the item"
	End With
	.Refresh()
End With

C++

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXTOOLBARLib' for the library: 'ExToolBar 1.0 Control Library'

	#import <ExToolBar.dll>
	using namespace EXTOOLBARLib;
*/
EXTOOLBARLib::IToolBarPtr spToolBar1 = GetDlgItem(IDC_TOOLBAR1)->GetControlUnknown();
EXTOOLBARLib::IItemPtr var_Item = spToolBar1->GetItems()->Add(L"ToolTip",vtMissing,vtMissing);
	var_Item->PutTooltipTitle(L"Title");
	var_Item->PutTooltip(L"This is a bit of text that should be shown when cursor hovers the item");
spToolBar1->Refresh();

C++ Builder

Extoolbarlib_tlb::IItemPtr var_Item = ToolBar1->Items->Add(L"ToolTip",TNoParam(),TNoParam());
	var_Item->TooltipTitle = L"Title";
	var_Item->Tooltip = L"This is a bit of text that should be shown when cursor hovers the item";
ToolBar1->Refresh();

C#

exontrol.EXTOOLBARLib.Item var_Item = extoolbar1.Items.Add("ToolTip",null,null);
	var_Item.TooltipTitle = "Title";
	var_Item.Tooltip = "This is a bit of text that should be shown when cursor hovers the item";
extoolbar1.Refresh();

JScript/JavaScript

<BODY onload='Init()'>
<OBJECT CLASSID="clsid:DDF58CFA-750F-45E0-8A00-CFBE431702E2" id="ToolBar1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	var var_Item = ToolBar1.Items.Add("ToolTip",null,null);
		var_Item.TooltipTitle = "Title";
		var_Item.Tooltip = "This is a bit of text that should be shown when cursor hovers the item";
	ToolBar1.Refresh();
}
</SCRIPT>
</BODY>

VBScript

<BODY onload='Init()'>
<OBJECT CLASSID="clsid:DDF58CFA-750F-45E0-8A00-CFBE431702E2" id="ToolBar1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With ToolBar1
		With .Items.Add("ToolTip")
			.TooltipTitle = "Title"
			.Tooltip = "This is a bit of text that should be shown when cursor hovers the item"
		End With
		.Refresh 
	End With
End Function
</SCRIPT>
</BODY>

C# for /COM

EXTOOLBARLib.Item var_Item = axToolBar1.Items.Add("ToolTip",null,null);
	var_Item.TooltipTitle = "Title";
	var_Item.Tooltip = "This is a bit of text that should be shown when cursor hovers the item";
axToolBar1.Refresh();

X++ (Dynamics Ax 2009)

public void init()
{
	COM com_Item;
	anytype var_Item;
	;

	super();

	var_Item = COM::createFromObject(extoolbar1.Items()).Add("ToolTip"); com_Item = var_Item;
		com_Item.TooltipTitle("Title");
		com_Item.Tooltip("This is a bit of text that should be shown when cursor hovers the item");
	extoolbar1.Refresh();
}

Delphi 8 (.NET only)

with AxToolBar1 do
begin
	with Items.Add('ToolTip',Nil,Nil) do
	begin
		TooltipTitle := 'Title';
		Tooltip := 'This is a bit of text that should be shown when cursor hovers the item';
	end;
	Refresh();
end

Delphi (standard)

with ToolBar1 do
begin
	with Items.Add('ToolTip',Null,Null) do
	begin
		TooltipTitle := 'Title';
		Tooltip := 'This is a bit of text that should be shown when cursor hovers the item';
	end;
	Refresh();
end

VFP

with thisform.ToolBar1
	with .Items.Add("ToolTip")
		.TooltipTitle = "Title"
		.Tooltip = "This is a bit of text that should be shown when cursor hovers the item"
	endwith
	.Refresh
endwith

dBASE Plus

local oToolBar,var_Item

oToolBar = form.Activex1.nativeObject
var_Item = oToolBar.Items.Add("ToolTip")
	var_Item.TooltipTitle = "Title"
	var_Item.Tooltip = "This is a bit of text that should be shown when cursor hovers the item"
oToolBar.Refresh()

XBasic (Alpha Five)

Dim oToolBar as P
Dim var_Item as P

oToolBar = topparent:CONTROL_ACTIVEX1.activex
var_Item = oToolBar.Items.Add("ToolTip")
	var_Item.TooltipTitle = "Title"
	var_Item.Tooltip = "This is a bit of text that should be shown when cursor hovers the item"
oToolBar.Refresh()

Visual Objects

local var_Item as IItem

var_Item := oDCOCX_Exontrol1:Items:Add("ToolTip",nil,nil)
	var_Item:TooltipTitle := "Title"
	var_Item:Tooltip := "This is a bit of text that should be shown when cursor hovers the item"
oDCOCX_Exontrol1:Refresh()

PowerBuilder

OleObject oToolBar,var_Item

oToolBar = ole_1.Object
var_Item = oToolBar.Items.Add("ToolTip")
	var_Item.TooltipTitle = "Title"
	var_Item.Tooltip = "This is a bit of text that should be shown when cursor hovers the item"
oToolBar.Refresh()

Visual DataFlex

Procedure OnCreate
	Forward Send OnCreate
	Variant voItems
	Get ComItems to voItems
	Handle hoItems
	Get Create (RefClass(cComItems)) to hoItems
	Set pvComObject of hoItems to voItems
		Variant voItem
		Get ComAdd of hoItems "ToolTip" Nothing Nothing to voItem
		Handle hoItem
		Get Create (RefClass(cComItem)) to hoItem
		Set pvComObject of hoItem to voItem
			Set ComTooltipTitle of hoItem to "Title"
			Set ComTooltip of hoItem to "This is a bit of text that should be shown when cursor hovers the item"
		Send Destroy to hoItem
	Send Destroy to hoItems
	Send ComRefresh
End_Procedure

XBase++

#include "AppEvent.ch"
#include "ActiveX.ch"

PROCEDURE Main
 	LOCAL oForm
	LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL
	LOCAL oItem
	LOCAL oToolBar

	oForm := XbpDialog():new( AppDesktop() )
	oForm:drawingArea:clipChildren := .T.
	oForm:create( ,,{100,100}, {640,480},, .F. )
	oForm:close  := {|| PostAppEvent( xbeP_Quit )}

	oToolBar := XbpActiveXControl():new( oForm:drawingArea )
	oToolBar:CLSID  := "Exontrol.ToolBar.1" /*{DDF58CFA-750F-45E0-8A00-CFBE431702E2}*/
	oToolBar:create(,, {10,60},{610,370} )

		oItem := oToolBar:Items():Add("ToolTip")
			oItem:TooltipTitle := "Title"
			oItem:Tooltip := "This is a bit of text that should be shown when cursor hovers the item"
		oToolBar:Refresh()

	oForm:Show()
	DO WHILE nEvent != xbeP_Quit
		nEvent := AppEvent( @mp1, @mp2, @oXbp )
		oXbp:handleEvent( nEvent, mp1, mp2 )
	ENDDO 
RETURN