This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
built_in:lists [2016/06/25 14:48] 2.28.161.118 [Example - Gray on white] |
built_in:lists [2019/09/01 00:10] (current) |
||
---|---|---|---|
Line 57: | Line 57: | ||
The List object also supports **multi-line** list items and can show certain types of **icon**. Multi-line items are created by dividing each list item up using the ':' | The List object also supports **multi-line** list items and can show certain types of **icon**. Multi-line items are created by dividing each list item up using the ':' | ||
- | You can have one icon and up to three lines of text using the following formats: | + | You can have one icon and one or two lines of text using the following formats: |
* title : icon | * title : icon | ||
* title : body : icon | * title : body : icon | ||
- | * title : body : extra : icon | ||
The available icons types are displayed using the following key words: | The available icons types are displayed using the following key words: | ||
Line 74: | Line 73: | ||
* " | * " | ||
- | You can also use the images | + | You can also use resource |
- | + | ||
- | | + | |
| | ||
Line 204: | Line 201: | ||
For examples of the **[[same methods]]** look here. | For examples of the **[[same methods]]** look here. | ||
^ Method | ^ Method | ||
- | | ListView.AddItem( title, | + | | List.AddItem( title, |
- | | ListView.GetAbsHeight() | + | | List.GetAbsHeight() |
- | | ListView.GetAbsWidth() | + | | List.GetAbsWidth() |
- | | ListView.GetHeight() | + | | List.GetHeight() |
- | | ListView.GetItemByIndex( index ) | + | | List.GetItemByIndex( index ) |
- | | ListView.GetLength() | + | | List.GetLength() |
- | | ListView.GetList( delimeter ) | string = list.GetList("," | + | | List.GetList( delimeter ) | string = list.GetList("," |
- | | ListView.GetPosition() | + | | List.GetPosition() |
- | | ListView.GetTextSize( mode ) | + | | List.GetTextSize( mode ) |
- | | ListView.GetType() | + | | List.GetType() |
- | | ListView.GetVisibility() | + | | List.GetVisibility() |
- | | ListView.GetWidth() | + | | List.GetWidth() |
- | | ListView.InsertItem(index, | + | | List.InsertItem(index, |
- | | ListView.RemoveAll() | + | | List.RemoveAll() |
- | | ListView.RemoveItem( title ) | + | | List.RemoveItem( title ) |
- | | ListView.RemoveItemByIndex( index ) | | | + | | List.RemoveItemByIndex( index ) | | |
- | | ListView.ScrollToItem( name,body ) | + | | List.ScrollToItem( name,body ) |
- | | ListView.ScrollToItemByIndex( index ) | | | + | | List.ScrollToItemByIndex( index ) | | |
- | | ListView.SelectItem( title, | + | | List.SelectItem( title, |
- | | ListView.SelectItemByIndex( index, | + | | List.SelectItemByIndex( index, |
- | | ListView.SetBackColor( colorCode ) | + | | List.SetBackColor( colorCode ) |
- | | ListView.SetBackGradient( color1, | + | | List.SetBackGradient( color1, |
- | | ListView.SetBackGradientRadial( x, | + | | List.SetBackGradientRadial( x, |
- | | ListView.SetBackground( imagefile, | + | | List.SetBackground( imagefile, |
- | | ListView.SetDivider( height, | + | | List.SetDivider( height, |
- | | ListView.SetEllipsize( mode ) | | | + | | List.SetEllipsize( mode ) | | |
- | | ListView.SetEllipsize1( mode ) | + | | List.SetEllipsize1( mode ) |
- | | ListView.SetEllipsize2( mode ) | + | | List.SetEllipsize2( mode ) |
- | | ListView.SetFontFile( file ) | + | | List.SetFontFile( file ) |
- | | ListView.SetHiTextColor1( colorCode ) | | | + | | List.SetHiTextColor1( colorCode ) | | |
- | | ListView.SetHiTextColor2( colorCode ) | | | + | | List.SetHiTextColor2( colorCode ) | | |
- | | ListView.SetItem( title, | + | | List.SetItem( title, |
- | | ListView.SetItemByIndex( index, | + | | List.SetItemByIndex( index, |
- | | ListView.SetList( list, | + | | List.SetList( list, |
- | | ListView.SetMargins( left, | + | | List.SetMargins( left, |
- | | ListView.SetOnLongTouch( callback ) | sets the function called when list is long-touched | + | | List.SetOnLongTouch( callback ) | sets the function called when list is long-touched |
- | | ListView.SetOnTouch( callback ) | sets the function called when list is touched | + | | List.SetOnTouch( callback ) | sets the function called when list is touched |
- | | ListView.SetPadding( left, | + | | List.SetPadding( left, |
- | | ListView.SetPosition( left, | + | | List.SetPosition( left, |
- | | ListView.SetScale( x,y ) | + | | List.SetScale( x,y ) |
- | | ListView.SetSize( width, | + | | List.SetSize( width, |
- | | ListView.SetTextColor( colorCode ) | + | | List.SetTextColor( colorCode ) |
- | | ListView.SetTextColor1( colorCode ) | | | + | | List.SetTextColor1( colorCode ) | | |
- | | ListView.SetTextColor2( colorCode ) | | | + | | List.SetTextColor2( colorCode ) | | |
- | | ListView.SetTextMargins( left, | + | | List.SetTextMargins( left, |
- | | ListView.SetTextShadow( radius, | + | | List.SetTextShadow( radius, |
- | | ListView.SetTextShadow1( radius, | + | | List.SetTextShadow1( radius, |
- | | ListView.SetTextShadow2( radius, | + | | List.SetTextShadow2( radius, |
- | | ListView.SetTextSize( size,mode ) | | | + | | List.SetTextSize( size,mode ) | | |
- | | ListView.SetVisibility( ShowHide ) | + | | List.SetVisibility( ShowHide ) |
===== Available Options ===== | ===== Available Options ===== |