Backcolor Property

From Lianjapedia
Revision as of 07:07, 7 April 2011 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

An object's background color. Read/write.

ob.backcolor = nColor | cColor

nColor

Numeric constant:

ob.backcolor = 16711935

Or using the rgb() function:

ob.backcolor = rgb(255,0,255)

cColor

Color constant:

ob.backcolor = "magenta"

HTML style six-digit hexadecimal number for red, green, blue components:

ob.backcolor = "#FF00FF"