BackgroundColor Property
Description
Gets/Sets the background color of the popup control item.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property BackgroundColor() As ULong
Example
This sample code illustrates how to change the background and border color of a popup control item:
Dim Item As PopupControlItem
Set Item = PopupControl.AddItem(10, 45, 160, 100, "Please visit our website for additional product information including registration details.")
Item.TextAlignment = DT_CENTER Or DT_WORDBREAK
Item.BackgroundColor = RGB(135, 195, 245)
Item.BorderColor = RGB(38, 83, 187)
Item.CalculateHeight
Item.CalculateWidth
Item.Id = IDSITE
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.