Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note that for any field set to "None", the text color in that state is determined by the Style property, which uses system colors or Office XP theme colors.

Example

Code Block
 // Make the caption change colors depending on the button state. 
Forecolor = "" 
Forecolor<1> = "Red"     ; // Normal 
Forecolor<2> = "Pink"    ; // Hot 
Forecolor<3> = "Maroon"  ; // Pressed 
Forecolor<4> = "Gray"    ; // Disabled 
Forecolor<5> = "Blue"    ; // Focused (and at rest) 
Set_Property(@Window:".OLE_BUTTON", "OLE.Forecolor", Forecolor)

See Also

Background