Category:Common Properties

From Lianjapedia
Jump to: navigation, search

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