See also
Selection Object (Listing) (Page 1949)
CustomizedObject Object (Page 1839)
VBA Reference (Page 1664)
Customized Objects (Page 1626)
CreateDynamic Method
Description
Makes the specified property dynamic.
syntax
Expression.
CreateDynamic(DynamicType, [SourceCode])
Expression
Necessary. An expression or element which returns an object of the "Property" type.
Parameters
You only need use the "SourceCode" parameter if you want to make the specified property
dynamic with the aid of the Dynamic dialog.
In all other types of dynamics you can omit the parameter.
Parameter (Data Type) Description
DynamicType (HMIDynamicCreationType) Defines the type of dynamics:
● hmiDynamicCreationTypeVariableDirect:
Dynamics with a tag
● hmiDynamicCreationTypeVariableIndirect:
Dynamics with a tag In this type of dynamics
you specify only the name of the tag whose
value will be used for dynamic purposes.
● hmiDynamicCreationTypeScript: Dynamics
with a script (C, VB).
● hmiDynamicCreationTypeDynamicDialog:
Dynamizing with the dynamic dialog box:
SourceCode (String) Defines the function or tag that will be used for
dynamic purposes.
Also specify the tag name in single quote marks:
"Tag name"
VBA for Automated Configuration
4.4 The object model of the Graphics Designer
MDM - WinCC: Scripting (VBS, ANSI-C, VBA)
1742
System Manual, 11/2008,