Difference between revisions of "LavishGUI:frame (Element Type)"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
 
=== What is a Frame? ===
 
=== What is a Frame? ===
A frame is a box to contain other elements.
+
A frame is a box to contain other elements. [[LavishGUI:lguiframe_%28Data_Type%29|lguiframe (Data Type)]] is used to provide access via LavishScript.
 
== Using Frames ==
 
== Using Frames ==
 
Frames are descendants of the [[LavishGUI:Elements|base]] element type.  Any attributes of the [[LavishGUI:Elements|base]] element type may be applied in addition to the frame-specific properties described below.
 
Frames are descendants of the [[LavishGUI:Elements|base]] element type.  Any attributes of the [[LavishGUI:Elements|base]] element type may be applied in addition to the frame-specific properties described below.
Line 24: Line 24:
 
== See Also ==
 
== See Also ==
 
* [[LavishGUI]]
 
* [[LavishGUI]]
 +
* [[LavishGUI:lguiframe_%28Data_Type%29|lguiframe (Data Type)]]
 
* [[LavishGUI:Elements|Elements]]
 
* [[LavishGUI:Elements|Elements]]
 
[[Category:LavishGUI]]
 
[[Category:LavishGUI]]

Latest revision as of 22:49, 15 December 2005

Introduction

What is a Frame?

A frame is a box to contain other elements. lguiframe (Data Type) is used to provide access via LavishScript.

Using Frames

Frames are descendants of the base element type. Any attributes of the base element type may be applied in addition to the frame-specific properties described below.

Frame-Specific Properties

  • BackgroundColor
Background color
  • Border
Size of border around the element. This border is included in the size of the element
  • BorderColor
Border color
  • Texture
Texture, if any

Examples

Example code

  <frame name='TestFrame'>
      <X>30%</X>
      <Y>30%</Y>
      <Height>250</Height>
      <Width>200</Width>
  </frame>

See Also