Difference between revisions of "PropertyListLine"
From Jeremie Leroy - XOJO Controls Wiki
m (1 revision) |
m (6 revisions imported) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 11: | Line 11: | ||
|class=titleClass colspan=3|Properties | |class=titleClass colspan=3|Properties | ||
|- | |- | ||
| − | |width=33%|{{Property | name=AutoComplete | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=AutoComplete | type=Boolean | description= | readonly=no | newinversion= | version=1.5}} |
| − | |width=33%|{{Property | name=FontFromCell | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=FontFromCell | type=Boolean | description= | readonly=no | newinversion= | version=1.5}} |
| − | |width=33%|{{Property | name=Required | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Required | type=Boolean | description= | readonly=no | newinversion= | version=1.5}} |
|- | |- | ||
| − | |width=33%|{{Property | name=ButtonID | type=Integer | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=ButtonID | type=Integer | description= | readonly=no | newinversion= | version=1.5}} |
| − | |width=33%|{{Property | name=Format | type=String | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Format | type=String | description= | readonly=no | newinversion= | version=1.5}} |
| − | |width=33%|{{Property | name=SpecialList | type=String | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=SpecialList | type=String | description= | readonly=no | newinversion= | version=1.5}} |
|- | |- | ||
| − | |width=33%|{{Property | name=Caption | type=String | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Caption | type=String | description= | readonly=no | newinversion= | version=1.5}} |
| − | |width=33%|{{Property | name=hasButton | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=hasButton | type=Boolean | description= | readonly=no | newinversion= | version=1.5}} |
| − | |width=33%|{{Property | name=Transparent | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Transparent | type=Boolean | description= | readonly=no | newinversion= | version=1.5}} |
|- | |- | ||
| − | |width=33%|{{Property | name=ColorNegativeNum | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=ColorNegativeNum | type=Boolean | description= | readonly=no | newinversion= | version=1.5}} |
| − | |width=33%|{{Property | name=HelpTag | type=String | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=HelpTag | type=String | description= | readonly=no | newinversion= | version=1.5}} |
| − | |width=33%|{{Property | name=Type | type=Integer | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Type | type=Integer | description= | readonly=no | newinversion= | version=1.5}} |
|- | |- | ||
| − | |width=33%|{{Property | name=Comment | type=String | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Comment | type=String | description= | readonly=no | newinversion= | version=1.5}} |
| − | |width=33%|{{Property | name=isHeader | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=isHeader | type=Boolean | description= | readonly=no | newinversion= | version=1.5}} |
| − | |width=33%|{{Property | name=Value | type=String | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Value | type=String | description= | readonly=no | newinversion= | version=1.5}} |
|- | |- | ||
| − | |width=33%|{{Property | name=Condensed | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Condensed | type=Boolean | description= | readonly=no | newinversion= | version=1.5}} |
| − | |width=33%|{{Property | name=LimitText | type=Integer | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=LimitText | type=Integer | description= | readonly=no | newinversion= | version=1.5}} |
| − | |width=33%|{{Property | name=ValueList | type=String | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=ValueList | type=String | description= | readonly=no | newinversion= | version=1.5}} |
|- | |- | ||
| − | |width=33%|{{Property | name=defaultvalue | type=String | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=defaultvalue | type=String | description= | readonly=no | newinversion= | version=1.5}} |
| − | |width=33%|{{Property | name=Mask | type=String | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Mask | type=String | description= | readonly=no | newinversion= | version=1.5}} |
| − | |width=33%|{{Property | name=Visible | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Visible | type=Boolean | description= | readonly=no | newinversion= | version=1.5}} |
|- | |- | ||
| − | |width=33%|{{Property | name=dynamicList | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=dynamicList | type=Boolean | description= | readonly=no | newinversion= | version=1.5}} |
| − | |width=33%|{{Property | name=Name | type=String | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Name | type=String | description= | readonly=no | newinversion= | version=1.5}} |
|- | |- | ||
| − | |width=33%|{{Property | name=expanded | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=expanded | type=Boolean | description= | readonly=no | newinversion= | version=1.5}} |
| − | |width=33%|{{Property | name=Numeric | type=Boolean | description= | readonly=no | newinversion=}} | + | |width=33%|{{Property | name=Numeric | type=Boolean | description= | readonly=no | newinversion= | version=1.5}} |
| + | |||
| + | |- | ||
| + | |width=33%|{{Property | name=Folder | type=Boolean | description= | readonly=no | newinversion= | version=1.5}} | ||
| + | |width=33%|{{Property | name=Parent | type=PropertyListLine | description= | readonly=no | newinversion= | version=1.5}} | ||
|- | |- | ||
| − | |||
| − | |||
|} | |} | ||
| − | |||
| − | |||
| Line 64: | Line 64: | ||
|- | |- | ||
|{{Method | name=ParentName | description= | returntype=String | newinversion=}} | |{{Method | name=ParentName | description= | returntype=String | newinversion=}} | ||
| + | |- | ||
| + | |||
|- | |- | ||
|} | |} | ||
| Line 69: | Line 71: | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==ClassConstants== | ==ClassConstants== | ||
| Line 81: | Line 77: | ||
The following class constants can be used to specify the values of the CellType and ColumnType properties. | The following class constants can be used to specify the values of the CellType and ColumnType properties. | ||
| − | + | {| class="genericTable" | |
| − | Class Constant | + | !Class Constant |
| − | Default constants from the ListBox control: | + | !Description |
| − | + | |- | |
| − | + | |Default constants from the ListBox control: | |
| − | + | | | |
| − | + | |- | |
| − | + | |TypeDefault | |
| − | + | |Default, the same as the column type. | |
| − | + | |- | |
| − | + | |TypeNormal | |
| − | + | |Normal, read only. | |
| − | + | |- | |
| − | + | |TypeCheckBox | |
| − | + | |A check box is added to the cell. | |
| − | + | |- | |
| + | |TypeEditable | ||
| + | |The cell is inline editable. | ||
| + | |- | ||
| + | |TypeMultiline | ||
| + | |The cell is inline editable and can have several lines. | ||
| + | |- | ||
| + | |TypeList | ||
| + | |When clicking the cell, a PopupMenu appears with the list of values the cell can take. | ||
| + | |- | ||
| + | |TypeEditableList | ||
| + | |The cell is inline editable and a PopupMenu can appear like TypeList. | ||
| + | |- | ||
| + | |TypeColor | ||
| + | |The cell contains a color. Either [[PropertyListLine.Type|Type]] the color (RGB format) or click the button to show the SelectColor dialog. | ||
| + | |- | ||
| + | |TypeFolderItem | ||
| + | |When clicking the cell, the GetOpenFolderItem or SelectFolder dialog is displayed. | ||
| + | |- | ||
| + | |TypeRadioButton | ||
| + | |A check box is added to the cell. Only one TypeRadioButton line for each header can be checked at a time. | ||
| + | |- | ||
| + | |TypeRating | ||
| + | |A five-star rating cell. | ||
| + | |- | ||
| + | |TypePicture | ||
| + | |Selects a FolderItem and opens it as a picture. | ||
| + | |- | ||
| + | |TypeNumericUpDown | ||
| + | |Displays a [[PropertyListLine.Numeric|Numeric]] [[PropertyListLine.Value|Value]] with up/down arrows. | ||
| + | |} | ||
More line types can be added on demand. | More line types can be added on demand. | ||
| + | |||
| + | ==See Also== | ||
| + | |||
| + | |||
| + | PropertyListBox, PropertyListLine, [[PropertyListStyle]] classes. | ||
| + | PropertyListModule module. | ||
Latest revision as of 13:24, 6 August 2015
Class used to contain each row of the PropertyListBox. This enables hiding rows, and providing alot more options for each row.
| Methods |
| Constructor |
| Constructor |
| ParentName |
ClassConstants
CellType
The following class constants can be used to specify the values of the CellType and ColumnType properties.
| Class Constant | Description |
|---|---|
| Default constants from the ListBox control: | |
| TypeDefault | Default, the same as the column type. |
| TypeNormal | Normal, read only. |
| TypeCheckBox | A check box is added to the cell. |
| TypeEditable | The cell is inline editable. |
| TypeMultiline | The cell is inline editable and can have several lines. |
| TypeList | When clicking the cell, a PopupMenu appears with the list of values the cell can take. |
| TypeEditableList | The cell is inline editable and a PopupMenu can appear like TypeList. |
| TypeColor | The cell contains a color. Either Type the color (RGB format) or click the button to show the SelectColor dialog. |
| TypeFolderItem | When clicking the cell, the GetOpenFolderItem or SelectFolder dialog is displayed. |
| TypeRadioButton | A check box is added to the cell. Only one TypeRadioButton line for each header can be checked at a time. |
| TypeRating | A five-star rating cell. |
| TypePicture | Selects a FolderItem and opens it as a picture. |
| TypeNumericUpDown | Displays a Numeric Value with up/down arrows. |
More line types can be added on demand.
See Also
PropertyListBox, PropertyListLine, PropertyListStyle classes. PropertyListModule module.