See also
RoundButton Object (Page 1942)
Button Object (Page 1824)
PicUpReferenced Property
Description
TRUE if the picture assigned to the "Off" status is to be saved in the RoundButton object.
Otherwise, only the associated object reference is saved. BOOLEAN write-read access.
Example:
The "RoundButtonConfiguration()" procedure accesses the properties of the RoundButton. In
this example the picture assigned to the "Off" status will be referenced:
Sub RoundButtonConfiguration()
'VBA677
Dim objRoundButton As HMIRoundButton
Set objRoundButton = ActiveDocument.HMIObjects.AddHMIObject("RButton1", "HMIRoundButton")
With objRoundButton
.PicUpReferenced = False
End With
End Sub
See also
RoundButton Object (Page 1942)
PicUpTransparent Property
Description
Defines or returns which color of the bitmap object (.bmp, .dib) assigned to the "Off" status
should be set to "transparent". LONG write-read access.
The color is only set to "Transparent" if the value of the "PicUpUseTransColor" property is
"True".
Determination of Color Value
The color is displayed in RGB format (Red, Green, Blue). Specify the corresponding decimal
value for each of the three RGB values (value range from 0 to 255).
Use VBA function "RGB" to assign a color to a property. The color "red", for example, is
represented as follows: RGB(255, 0, 0)
VBA for Automated Configuration
4.4 The object model of the Graphics Designer
MDM - WinCC: Scripting (VBS, ANSI-C, VBA)
2254
System Manual, 11/2008,