Type | Description | |||
Value as Variant | If calling the first time, A String expression that indicates the DIM command to define the variables that follows, or a VARIANT expression that defines the value of the variable in the order as they were defined. |
With NAVHost1 .BackgroundColor = 16777215 .Create "C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll","System.Windows.Forms.MonthCalendar" With .Host .SetTemplateDef "Dim x" .SetTemplateDef #1/1/2001# .Template = "MaxSelectionCount = 1;SelectionStart = x" End With End With
This sample defines the variable x to be 1/1/2001 for the Template call, so the SelectionStart will be set on 1/1/2001.
The call of SetTemplateDef method consists in:
Once you defined the variables, they will be available for the next calls of Template/Item properties.