Difference between revisions of "Category:Common Properties"

From Lianjapedia
Jump to: navigation, search
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Each of the Lianja base UI classes have some common properties as well as some that are specific to the UI Class itself. The following table summarizes the common properties.
+
Each of the Lianja base UI classes have some common properties as well as some that are specific to the UI Class itself. The following table summarizes the common properties.  Note: property names should be referred to in lowercase in case-sensitive scripting languages.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 11: Line 11:
 
|-
 
|-
 
|Anchor||Numeric (RW)||The anchor behavior of the object when its parent is resized
 
|Anchor||Numeric (RW)||The anchor behavior of the object when its parent is resized
 +
|-
 +
|AutoCenter||Boolean (RW)||Whether object should be automatically centered inside its parent
 
|-
 
|-
 
|AutoHeight||Boolean (RW)||Whether height of object should be autosized to parent
 
|AutoHeight||Boolean (RW)||Whether height of object should be autosized to parent
Line 29: Line 31:
 
|-
 
|-
 
|ControlSource||Character (RW)||Source of data to which the object is bound
 
|ControlSource||Character (RW)||Source of data to which the object is bound
 +
|-
 +
|valign="top"|Css||valign="top"|Character (RW)||valign="top"|CSS used to theme the UI object. Semi-colon (;) separated list of CSS style attributes or App/Library filename ('app:/cssfilename','lib:/cssfilename','library:/cssfilename') or CSS classnames separated with spaces
 
|-
 
|-
 
|DisabledBackColor||Numeric or Character (RW)||Background color when object is disabled
 
|DisabledBackColor||Numeric or Character (RW)||Background color when object is disabled
 
|-
 
|-
 
|DisabledForeColor||Numeric or Character (RW)||Foreground color when object is disabled
 
|DisabledForeColor||Numeric or Character (RW)||Foreground color when object is disabled
 +
|-
 +
|DropShadow||Boolean (RW)||Draws a drop shadow effect to the right and bottom of the object
 
|-
 
|-
 
|Enabled||Boolean (RW)||Whether object is enabled
 
|Enabled||Boolean (RW)||Whether object is enabled
Line 63: Line 69:
 
|-
 
|-
 
|Height||Numeric (RW)||Height in pixels
 
|Height||Numeric (RW)||Height in pixels
 +
|-
 +
|Hwnd||Numeric (R)||Returns the native windows system identifier for the widget
 
|-
 
|-
 
|Left||Numeric (RW)||Left column position in pixels
 
|Left||Numeric (RW)||Left column position in pixels
Line 75: Line 83:
 
|-
 
|-
 
|MinWidth||Numeric (RW)||Minimum width of the object in pixels
 
|MinWidth||Numeric (RW)||Minimum width of the object in pixels
 +
|-
 +
|MouseCursor||Numeric (RW)||Mouse cursor type [[Mouse Cursor Types|See here]]
 
|-
 
|-
 
|Name||Character (R)||Object's name
 
|Name||Character (R)||Object's name
Line 80: Line 90:
 
|ObjectName||Character (RW)||Object's name
 
|ObjectName||Character (RW)||Object's name
 
|-
 
|-
|Parent||Character (R)||Object's parent
+
|Parent||Object (R)||Object's parent
 +
|-
 +
|ParentClass||Character (R)||Object's parent class
 
|-
 
|-
|ParentClass||Character (R)||Object's parent's class
+
|RaisedShadow||Boolean (RW)||Draws a raised shadow effect around the object
 
|-
 
|-
 
|SpecialEffect||Numeric (RW)||Frame shadow effect of the object: 0 = raised, 1 = sunken, 2 = flat
 
|SpecialEffect||Numeric (RW)||Frame shadow effect of the object: 0 = raised, 1 = sunken, 2 = flat
Line 88: Line 100:
 
|StatusBarText||Character (RW)||Statusbar text when object is selected/hovered over
 
|StatusBarText||Character (RW)||Statusbar text when object is selected/hovered over
 
|-
 
|-
|StyleSheet||Character (RW)||Semi-colon (;) separated list of CSS style attributes or App/Library filename ('app:/cssfilename','lib:/cssfilename','library:/cssfilename')
+
|valign="top"|StyleSheet||valign="top"|Character (RW)||Semi-colon (;) separated list of CSS style attributes or App/Library filename ('app:/cssfilename','lib:/cssfilename','library:/cssfilename') or CSS classnames separated with spaces
 
|-
 
|-
 
|TabIndex||Numeric (RW)||The tab index order of the object
 
|TabIndex||Numeric (RW)||The tab index order of the object
Line 104: Line 116:
 
|Visible||Boolean (RW)||Whether object is visible
 
|Visible||Boolean (RW)||Whether object is visible
 
|-
 
|-
|WhatsThis||Character (RW)||Text (can contain formatted HTML) displayed in a popup tooltip-like window when a control has focus and Shift+F1 is pressed
+
|valign="top"|WhatsThis||valign="top"|Character (RW)||Text (can contain formatted HTML) displayed in a popup tooltip-like window when a control has focus and Shift+F1 is pressed
 
|-
 
|-
 
|Width||Numeric (RW)||Width in pixels
 
|Width||Numeric (RW)||Width in pixels
Line 112: Line 124:
 
|}
 
|}
  
 
+
[[Category:Framework Classes]]
 
[[Category:Properties]]
 
[[Category:Properties]]

Latest revision as of 11:24, 28 March 2018

Each of the Lianja base UI classes have some common properties as well as some that are specific to the UI Class itself. The following table summarizes the common properties. Note: property names should be referred to in lowercase in case-sensitive scripting languages.

Property Type Description
ActiveControl Character (R) Active control of a container object
ActiveForm Character (R) Active form
Anchor Numeric (RW) The anchor behavior of the object when its parent is resized
AutoCenter Boolean (RW) Whether object should be automatically centered inside its parent
AutoHeight Boolean (RW) Whether height of object should be autosized to parent
AutoSize Boolean (RW) Whether object should be autosized to parent
AutoWidth Boolean (RW) Whether width of object should be autosized to parent
BackColor Numeric or Character (RW) Background color
BackStyle Numeric (RW) Opacity of the object: 0.0 = completely transparent to 1.0 = completely opaque
BorderStyle Numeric (RW) Border style of an object: 0 = none, 1 = single
Class Character (R) Object's class
Comment Character (RW) Comment associated with an object
ControlSource Character (RW) Source of data to which the object is bound
Css Character (RW) CSS used to theme the UI object. Semi-colon (;) separated list of CSS style attributes or App/Library filename ('app:/cssfilename','lib:/cssfilename','library:/cssfilename') or CSS classnames separated with spaces
DisabledBackColor Numeric or Character (RW) Background color when object is disabled
DisabledForeColor Numeric or Character (RW) Foreground color when object is disabled
DropShadow Boolean (RW) Draws a drop shadow effect to the right and bottom of the object
Enabled Boolean (RW) Whether object is enabled
FixedHeight Numeric (RW) Fixed height of the object in pixels
FixedWidth Numeric (RW) Fixed width of the object in pixels
FontBold Boolean (RW) Whether font is bold
FontCharSet Numeric (RW) Character set of font
FontFixedPitch Boolean (RW) Whether font is fixed pitch
FontItalic Boolean (RW) Whether font is italic
FontName Character (RW) Name of font
FontSize Numeric (RW) Size of font
FontStretch Numeric (RW) Amount font is expanded/compressed
FontStrikeThru Boolean (RW) Whether font is strikethru/strikeout
FontUnderline Boolean (RW) Whether font is underlined
FontWeight Numeric (RW) Thickness of font
ForeColor Numeric or Character (RW) Foreground color
Height Numeric (RW) Height in pixels
Hwnd Numeric (R) Returns the native windows system identifier for the widget
Left Numeric (RW) Left column position in pixels
MaxHeight Numeric (RW) Maximum height of the object in pixels
MaxWidth Numeric (RW) Maximum width of the object in pixels
Message Character (RW) Statusbar text when object is selected/hovered over
MinHeight Numeric (RW) Minimum height of the object in pixels
MinWidth Numeric (RW) Minimum width of the object in pixels
MouseCursor Numeric (RW) Mouse cursor type See here
Name Character (R) Object's name
ObjectName Character (RW) Object's name
Parent Object (R) Object's parent
ParentClass Character (R) Object's parent class
RaisedShadow Boolean (RW) Draws a raised shadow effect around the object
SpecialEffect Numeric (RW) Frame shadow effect of the object: 0 = raised, 1 = sunken, 2 = flat
StatusBarText Character (RW) Statusbar text when object is selected/hovered over
StyleSheet Character (RW) Semi-colon (;) separated list of CSS style attributes or App/Library filename ('app:/cssfilename','lib:/cssfilename','library:/cssfilename') or CSS classnames separated with spaces
TabIndex Numeric (RW) The tab index order of the object
TabStop Boolean (RW) Whether object can be selected with the tab key
Tag Character (RW) Tag associated with an object
ToolTipText Character (RW) Text displayed when object is hovered over
Top Numeric (RW) Top row position in pixels
Transparent Boolean (RW) Whether the object is transparent
Visible Boolean (RW) Whether object is visible
WhatsThis Character (RW) Text (can contain formatted HTML) displayed in a popup tooltip-like window when a control has focus and Shift+F1 is pressed
Width Numeric (RW) Width in pixels
Zorder Numeric (RW) Z-order of the object