Difference between revisions of "LavishGUI:lguiframe (Data Type)"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 2: Line 2:
  
 
== Members ==
 
== Members ==
BackgroundColor
+
* [[DataType:int|int]] '''BackgroundColor''' : color of the background
BorderColor
+
* [[DataType:int|int]] '''BorderColor''' : color of the border
 
== Methods ==
 
== Methods ==
SetBackgroundColor
+
*'''SetBackgroundColor['''#''']''' : sets the background color to <#> (use hex value e.g. FFFFFF00)
SetBorderColor
+
*'''SetBorderColor['''#''']''' : sets the background color to <#> (use hex value e.g. FFFFFF00)
 +
 
 +
 
 +
== Inherits ==
 +
[[ISSession:isuielement (Data Type)|isuielement]]
 +
 
 
== Returns ==
 
== Returns ==
 
+
Same as '''Name'''
 
== Examples ==
 
== Examples ==
 +
===Display border color===
 +
*echo Border Color(in hex): ${UIElement[test].FindChild[test].BorderColor.Hex}
 +
;Output
 +
Border Color(in hex): ffffebce
 +
===Set background color===
 +
*UIElement[test].FindChild[test]:SetBackgroundColor[FFFF00FF]
 +
:sets background to FFFF00FF(pink)
  
 
== See Also ==
 
== See Also ==

Revision as of 21:43, 30 August 2005

Description

Members

  • int BackgroundColor : color of the background
  • int BorderColor : color of the border

Methods

  • SetBackgroundColor[#] : sets the background color to <#> (use hex value e.g. FFFFFF00)
  • SetBorderColor[#] : sets the background color to <#> (use hex value e.g. FFFFFF00)


Inherits

isuielement

Returns

Same as Name

Examples

Display border color

  • echo Border Color(in hex): ${UIElement[test].FindChild[test].BorderColor.Hex}
Output
Border Color(in hex): ffffebce

Set background color

  • UIElement[test].FindChild[test]:SetBackgroundColor[FFFF00FF]
sets background to FFFF00FF(pink)

See Also