Difference between revisions of "PropertyListLine"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
m (1 revision)
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}}
  
 
|-
 
|-
|width=33%|{{Property | name=Folder | type=Boolean | description= | readonly=no | newinversion=}}
 
|width=33%|{{Property | name=Parent | type=PropertyListLine | description= | readonly=no | newinversion=}}
 
 
|}
 
|}
 
 
  
  
Line 64: Line 64:
 
|-
 
|-
 
|{{Method | name=ParentName | description= | returntype=String | newinversion=}}
 
|{{Method | name=ParentName | description= | returntype=String | newinversion=}}
 +
|-
 +
 
|-
 
|-
 
|}
 
|}
Line 69: Line 71:
  
  
 
 
==See Also==
 
 
[[PropertyListBox]], [[PropertyListLine]], [[PropertyListStyle classes.
 
PropertyListModule module.]]
 
 
==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.
  
<table>
+
{| class="genericTable"
Class Constant->Description
+
!Class Constant
Default constants from the ListBox control:
+
!Description
TypeDefault->Default, the same as the column type.
+
|-
TypeNormal->Normal, read only.
+
|Default constants from the ListBox control:
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.
+
|TypeDefault
TypeList->When clicking the cell, a PopupMenu appears with the list of values the cell can take.
+
|Default, the same as the column type.
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.
+
|TypeNormal
TypeFolderItem->When clicking the cell, the GetOpenFolderItem or SelectFolder dialog is displayed.
+
|Normal, read only.
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.
+
|TypeCheckBox
TypePicture->Selects a FolderItem and opens it as a picture.
+
|A check box is added to the cell.
</table>
+
|-
 +
|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.

Revision as of 12:14, 24 November 2012

Class used to contain each row of the PropertyListBox. This enables hiding rows, and providing alot more options for each row.



Properties
AutoComplete FontFromCell Required
ButtonID Format SpecialList
Caption hasButton Transparent
ColorNegativeNum HelpTag Type
Comment isHeader Value
Condensed LimitText ValueList
defaultvalue Mask Visible
dynamicList Name
expanded Numeric
Folder Parent


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.