Versions Compared

Key

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

...

Code Block
 // Set the control's border to be a thick custom one
Set_Property(@Window:".OLE_CONTROL", "OLE.Border", "Custom Thick")

 // Now define the custom colors
Colors = ""
Colors<1> = "Green"   :@VM:"Window"   ; // Normal State
Colors<2> = "Green"   :@VM:"Green"    ; // Focus State
Colors<3> = "Green"   :@VM:"Green"    ; // Hot State
Colors<4> = "3DShadow":@VM:"3DFace"   ; // Disabled State

 // And set them
Set_Property(@Window:".OLE_CONTROL", "OLE.BorderColors", Colors)

See Also

Border