Difference between revisions of "Datetextbox"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Barrymavin (Talk | contribs) (→Events) |
||
| (4 intermediate revisions by 2 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. | ||
| + | |||
| + | ====Description==== | ||
| + | Shown below in a standalone [[Form]]. Click the image to see in a [[Custom_Sections_and_Gadgets|Custom Section]] in a Lianja [[Page Attributes|Page]]. | ||
| + | |||
| + | [[{{ns:file}}:datetextbox.png|link={{filepath:datetextbox_cs.png}}|Datetextbox]] | ||
| + | |||
| + | Datetextbox is a control combining a [[Textbox]] for date entry and a popup calendar. | ||
====Properties==== | ====Properties==== | ||
| Line 5: | Line 12: | ||
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) | ||
| Line 11: | Line 18: | ||
!width="50%"|Description | !width="50%"|Description | ||
|- | |- | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|Alignment | |Alignment | ||
|RW | |RW | ||
|Numeric | |Numeric | ||
|Alignment: 0 = left, 1 = right, 2 = center | |Alignment: 0 = left, 1 = right, 2 = center | ||
| + | |- | ||
| + | |MaximumDate | ||
| + | |RW | ||
| + | |Date | ||
| + | |Calendar end date | ||
|- | |- | ||
|MinimumDate | |MinimumDate | ||
| Line 31: | Line 35: | ||
|Calendar start date | |Calendar start date | ||
|- | |- | ||
| − | | | + | |Text |
|RW | |RW | ||
| − | | | + | |Character |
| − | | | + | |Character value of object |
|- | |- | ||
|valign="top"|Validation | |valign="top"|Validation | ||
| Line 45: | Line 49: | ||
|Character | |Character | ||
|Message displayed if validation returns False | |Message displayed if validation returns False | ||
| + | |- | ||
| + | |Value | ||
| + | |RW | ||
| + | |Date | ||
| + | |Date value of object | ||
|- | |- | ||
|} | |} | ||
| Line 52: | Line 61: | ||
This class supports the [[:Category:Common_Methods|Common Methods]] plus the following: | This class supports the [[:Category:Common_Methods|Common Methods]] plus the following: | ||
| − | {| class="wikitable" width=100% | + | {| class="wikitable" width="100%" |
!width="20%"|Method | !width="20%"|Method | ||
!Args | !Args | ||
| Line 63: | Line 72: | ||
This class supports the [[:Category:Common_Events|Common Events]] plus the following: | This class supports the [[:Category:Common_Events|Common Events]] plus the following: | ||
| − | {| class="wikitable" width=100% | + | {| class="wikitable" width="100%" |
!width="20%"|Event | !width="20%"|Event | ||
!Args | !Args | ||
!width="50%"|Description | !width="50%"|Description | ||
| − | + | |- | |
| + | |InteractiveChange||None||Occurs when a date is selected | ||
|} | |} | ||
| + | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Framework Classes]] | [[Category:Framework Classes]] | ||
Latest revision as of 22:48, 9 May 2024
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
Contents
Description
Shown below in a standalone Form. Click the image to see in a Custom Section in a Lianja Page.
Datetextbox is a control combining a Textbox for date entry and a popup calendar.
Properties
This class supports the Common Properties plus the following:
| Property | Access (R/RW) | Value | Description |
|---|---|---|---|
| Alignment | RW | Numeric | Alignment: 0 = left, 1 = right, 2 = center |
| MaximumDate | RW | Date | Calendar end date |
| MinimumDate | RW | Date | Calendar start date |
| Text | RW | Character | Character value of object |
| Validation | RW | Character | String containing boolean expression to validate data entry |
| ValidationErrorMessage | RW | Character | Message displayed if validation returns False |
| Value | RW | Date | Date value of object |
Methods
This class supports the Common Methods plus the following:
| Method | Args | Description |
|---|
Events
This class supports the Common Events plus the following:
| Event | Args | Description |
|---|---|---|
| InteractiveChange | None | Occurs when a date is selected |
