Difference between revisions of "FormItem"

From Lianjapedia
Jump to: navigation, search
(Methods)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
''This requires expanding it is lacking many of the attributes and methods.''
 
 
 
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
 
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
 +
 +
More detailed documentation can be found [[Field_Attributes|here]].
  
 
====Properties====
 
====Properties====
Line 52: Line 52:
 
|Character
 
|Character
 
|Object's parent Section id
 
|Object's parent Section id
 +
|-
 +
|valign="top"|State
 +
|valign="top"|R
 +
|valign="top"|Character
 +
|Comma separated list of [[UI States]] that the Object handles.
 +
|-
 +
|valign="top"|UIState
 +
|valign="top"|R
 +
|valign="top"|Character
 +
|The last [[UI States|UI State]] applied to the Object.
 
|-
 
|-
 
|}
 
|}
 +
 +
UI control specific attributes are documented separately. See  [[:Category:Framework Classes|Framework Classes]] for details.
  
 
====Methods====
 
====Methods====
Line 66: Line 78:
 
|ApplyMetaData
 
|ApplyMetaData
 
|None
 
|None
|Apply MetaData for the formitem (from v3.4).
+
|Apply MetaData for the Object.
 +
|-
 +
|Evaluate
 +
|Character string containing a JavaScript expression
 +
|Evaluate the specified JavaScript expression inside a webview gadget.
 
|-
 
|-
 
|}
 
|}

Latest revision as of 06:01, 14 September 2022

Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.

More detailed documentation can be found here.

Properties

This class supports the Common Properties plus the following:

Property Access (R/RW) Value Description
Caption RW Character Object's caption
CaptionBackColor RW Character Object's caption background color
CaptionForeColor RW Character Object's caption foreground color
DataBackColor RW Character Object's data background color
DataForeColor RW Character Object's data foreground color
Id R Character Object's id
PageId R Character Object's parent Page id
SectionId R Character Object's parent Section id
State R Character Comma separated list of UI States that the Object handles.
UIState R Character The last UI State applied to the Object.

UI control specific attributes are documented separately. See Framework Classes for details.

Methods

This class supports the Common Methods plus the following:

Method Args Description
ApplyMetaData None Apply MetaData for the Object.
Evaluate Character string containing a JavaScript expression Evaluate the specified JavaScript expression inside a webview gadget.

Events

This class supports the Common Events plus the following:

Event Args Description