property Expression.Description(Keyword as KeywordEnum) as String
Specifies the description of the giving keyword.

TypeDescription
Keyword as KeywordEnum A KeywordEnum expression that specifies the keyword to change its description/tooltip.
String A String expression that specifies the HTML description/tooltip of the keyword from the cursor.
Use the Description property to customize the description/tooltip for supported keywords. The Description supports the following HTML tags: 

The following samples changes the tooltip that shows when cursor hovers a keyword:

VBA (MS Access, Excell...)

With Expression1
	.Expression = "value"
	.Description(0) = "This is a bit of text to be shown when cursor hovers the <b>value</b> keyword."
	.Refresh 
End With

VB6

With Expression1
	.Expression = "value"
	.Description(exKeywordValue) = "This is a bit of text to be shown when cursor hovers the <b>value</b> keyword."
	.Refresh 
End With

VB.NET

With Expression1
	.Expression = "value"
	.set_Description(exontrol.EXPRESSIONLib.KeywordEnum.exKeywordValue,"This is a bit of text to be shown when cursor hovers the <b>value</b> keyword.")
	.Refresh()
End With

VB.NET for /COM

With AxExpression1
	.Expression = "value"
	.set_Description(EXPRESSIONLib.KeywordEnum.exKeywordValue,"This is a bit of text to be shown when cursor hovers the <b>value</b> keyword.")
	.Refresh()
End With

C++

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

	#import <Expression.dll>
	using namespace EXPRESSIONLib;
*/
EXPRESSIONLib::IExpressionPtr spExpression1 = GetDlgItem(IDC_EXPRESSION1)->GetControlUnknown();
spExpression1->PutExpression(L"value");
spExpression1->PutDescription(EXPRESSIONLib::exKeywordValue,L"This is a bit of text to be shown when cursor hovers the <b>value</b> keyword.");
spExpression1->Refresh();

C++ Builder

Expression1->Expression = L"value";
Expression1->Description[Expressionlib_tlb::KeywordEnum::exKeywordValue] = L"This is a bit of text to be shown when cursor hovers the <b>value</b> keyword.";
Expression1->Refresh();

C#

expression1.Expression = "value";
expression1.set_Description(exontrol.EXPRESSIONLib.KeywordEnum.exKeywordValue,"This is a bit of text to be shown when cursor hovers the <b>value</b> keyword.");
expression1.Refresh();

JScript/JavaScript

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B33F5489-49AC-4155-98E7-9BBFC57FF019" id="Expression1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	Expression1.Expression = "value";
	Expression1.Description(0) = "This is a bit of text to be shown when cursor hovers the <b>value</b> keyword.";
	Expression1.Refresh();
}
</SCRIPT>
</BODY>

VBScript

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B33F5489-49AC-4155-98E7-9BBFC57FF019" id="Expression1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Expression1
		.Expression = "value"
		.Description(0) = "This is a bit of text to be shown when cursor hovers the <b>value</b> keyword."
		.Refresh 
	End With
End Function
</SCRIPT>
</BODY>

C# for /COM

axExpression1.Expression = "value";
axExpression1.set_Description(EXPRESSIONLib.KeywordEnum.exKeywordValue,"This is a bit of text to be shown when cursor hovers the <b>value</b> keyword.");
axExpression1.Refresh();

X++ (Dynamics Ax 2009)

public void init()
{
	;

	super();

	expression1.Expression("value");
	expression1.Description(0/*exKeywordValue*/,"This is a bit of text to be shown when cursor hovers the <b>value</b> keyword.");
	expression1.Refresh();
}

Delphi 8 (.NET only)

with AxExpression1 do
begin
	Expression := 'value';
	set_Description(EXPRESSIONLib.KeywordEnum.exKeywordValue,'This is a bit of text to be shown when cursor hovers the <b>value</b> keyword.');
	Refresh();
end

Delphi (standard)

with Expression1 do
begin
	Expression := 'value';
	Description[EXPRESSIONLib_TLB.exKeywordValue] := 'This is a bit of text to be shown when cursor hovers the <b>value</b> keyword.';
	Refresh();
end

VFP

with thisform.Expression1
	.Expression = "value"
	.Object.Description(0) = "This is a bit of text to be shown when cursor hovers the <b>value</b> keyword."
	.Refresh
endwith

dBASE Plus

local oExpression

oExpression = form.EXPRESSIONACTIVEXCONTROL1.nativeObject
oExpression.Expression = "value"
oExpression.Template = [Description(0) = "This is a bit of text to be shown when cursor hovers the <b>value</b> keyword."] // oExpression.Description(0) = "This is a bit of text to be shown when cursor hovers the <b>value</b> keyword."
oExpression.Refresh()

XBasic (Alpha Five)

Dim oExpression as P

oExpression = topparent:CONTROL_ACTIVEX1.activex
oExpression.Expression = "value"
oExpression.Template = "Description(0) = `This is a bit of text to be shown when cursor hovers the <b>value</b> keyword.`" // oExpression.Description(0) = "This is a bit of text to be shown when cursor hovers the <b>value</b> keyword."
oExpression.Refresh()

Visual Objects


oDCOCX_Exontrol1:Expression := "value"
oDCOCX_Exontrol1:[Description,exKeywordValue] := "This is a bit of text to be shown when cursor hovers the <b>value</b> keyword."
oDCOCX_Exontrol1:Refresh()

PowerBuilder

OleObject oExpression

oExpression = ole_1.Object
oExpression.Expression = "value"
oExpression.Description(0,"This is a bit of text to be shown when cursor hovers the <b>value</b> keyword.")
oExpression.Refresh()

Visual DataFlex

Procedure OnCreate
	Forward Send OnCreate
	Set ComExpression to "value"
	Set ComDescription OLEexKeywordValue to "This is a bit of text to be shown when cursor hovers the <b>value</b> keyword."
	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 oExpression

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

	oExpression := XbpActiveXControl():new( oForm:drawingArea )
	oExpression:CLSID  := "Exontrol.Expression.1" /*{B33F5489-49AC-4155-98E7-9BBFC57FF019}*/
	oExpression:create(,, {10,60},{610,370} )

		oExpression:Expression := "value"
		oExpression:SetProperty("Description",0/*exKeywordValue*/,"This is a bit of text to be shown when cursor hovers the <b>value</b> keyword.")
		oExpression:Refresh()

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