Bambookit Home
Bambookit GUI Tutorial
Back
Next
II. GUI Basics
Chapter 9. Widgets Styles
Highlight Color
Highlight style paints the highlight background 'color'. Whenever the mouse rolls over, the background is set to this color.
See also
setBackground
Highlight style paints the highlight foreground 'color'. Whenever the mouse rolls over, the foreground is set to this color.
See also
setForeground
See also setHighlight on how to set highlight 'true'/'flase' for a button.
NOTE: if setOpaque="false" then the highlight color will not display.
NOTE: This property is NOT inherited by its children.
Method signature
setBackgroundHighlight = "
[color]
"
[color] is a 6 digit hexadecimal value
setForegroundHighlight = "
[color]
"
[color] is a 6 digit hexadecimal value
Examples
In this example we will be using a button widget
.. setBackgroundHighlight="33CCCC" setForegroundHighlight="990066"
Back
Next