![]() | Type | Description | ||
| Variant | A string expression that indicates the Dim declaration, or any Object expression to be assigned to previously declared variables. |
dBASE Plus How do I show the tooltip quicker?
local oCalendar,var_Event
oCalendar = form.Activex1.nativeObject
oCalendar.ToolTipDelay = 1
// oCalendar.Events.Add(oCalendar.Date).Comment = "This is a text that shows up when the cursor hovers the date"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
TemplateDef = [Dim var_Event]
TemplateDef = var_Event
Template = [var_Event.Comment = "This is a text that shows up when the cursor hovers the date"]
endwith
oCalendar.HideSelection = true
XBasic (Alpha Five) How do I show the tooltip quicker?
Dim oCalendar as P
Dim var_Event as P
oCalendar = topparent:CONTROL_ACTIVEX1.activex
oCalendar.ToolTipDelay = 1
' oCalendar.Events.Add(oCalendar.Date).Comment = "This is a text that shows up when the cursor hovers the date"
var_Event = oCalendar.Events.Add(oCalendar.Date)
oCalendar.TemplateDef = "Dim var_Event"
oCalendar.TemplateDef = var_Event
oCalendar.Template = "var_Event.Comment = \"This is a text that shows up when the cursor hovers the date\""
oCalendar.HideSelection = .t.
The TemplateDef, Template and ExecuteTemplate support x-script language ( Template script of the Exontrols ), like explained bellow:
The Template or x-script is composed by lines of instructions. Instructions are separated by "\n\r" ( newline characters ) or ";" character. The ; character may be available only for newer versions of the components.
An x-script instruction/line can be one of the following:
The x-script may uses constant expressions as follow:
Also , the template or x-script code may support general functions as follows: