Difference between revisions of "FormItem"
From Lianjapedia
Helen.george (Talk | contribs) |
Barrymavin (Talk | contribs) (→Methods) |
||
(14 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
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 5: | Line 7: | ||
This class supports the [[:Category:Common_Properties|Common Properties]] plus the following: | This class supports the [[:Category:Common_Properties|Common Properties]] plus the following: | ||
− | {| class="wikitable" width=100% | + | {| class="wikitable" width="100%" |
!width="20%"|Property | !width="20%"|Property | ||
!Access (R/RW) | !Access (R/RW) | ||
!Value | !Value | ||
!width="50%"|Description | !width="50%"|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 | |Id | ||
Line 16: | Line 43: | ||
|Object's id | |Object's id | ||
|- | |- | ||
− | | | + | |PageId |
− | | | + | |R |
|Character | |Character | ||
− | |Object's | + | |Object's parent Page id |
+ | |- | ||
+ | |SectionId | ||
+ | |R | ||
+ | |Character | ||
+ | |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 31: | Line 75: | ||
!Args | !Args | ||
!width="50%"|Description | !width="50%"|Description | ||
+ | |- | ||
+ | |ApplyMetaData | ||
+ | |None | ||
+ | |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 |
---|