Defines inside variables for the next Template/ExecuteTemplate call.
Type
Description
Variant
A string expression that indicates the template script.
The TemplateDef property has been added to allow
programming languages such as dBASE Plus to set control's properties with
multiple parameters. It is known that programming languages such as dBASE
Plus or XBasic from AlphaFive, does not support setting a property with
multiple parameters. In other words, these programming languages does not
support something like Property(Parameters) = Value, so our controls
provide an alternative using the TemplateDef method. The first call of the
TemplateDef should be a declaration such as "Dim a,b" which means
the next 2 calls of the TemplateDef defines the variables a and b. The next
call should be Template or ExecuteTemplate
property which can use the variable a and b being defined previously.