User Tools

Site Tools


built_in:lists

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 ':' (colon) character. If you need to use a colon character in your item text then use this character sequence: ^c^. 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 ':' (colon) character. If you need to use a colon character in your item text then use this character sequence: ^c^.
  
-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:
   * "playlist"    * "playlist" 
  
-You can also use the images on your sdcard, for example: +You can also use resource images or images from your sdcard instead of the keywords, for example:- "Img/MyIcon.png" or "/sdcard/images/image1.jpg"
- +
-  "Img/MyIcon.png"+
      
  
Line 204: Line 201:
 For examples of the **[[same methods]]** look here. For examples of the **[[same methods]]** look here.
 ^ Method                                                           ^ Description                                                                       ^ ^ Method                                                           ^ Description                                                                       ^
-ListView.AddItem( title,body,image )                                                                                                               | +List.AddItem( title,body,image )                                                                                                               | 
-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() with no params returns object list  | +List.GetList( delimeter )                                    | string = list.GetList(","); \\ List.GetList() with no params returns object list  | 
-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,title,body,image)                      |                                                                                   | +List.InsertItem(index,title,body,image)                      |                                                                                   | 
-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,body,scrollTo )                                                                                                         | +List.SelectItem( title,body,scrollTo )                                                                                                         | 
-ListView.SelectItemByIndex( index,scroll )                       | index is a number, \\ scroll could be true or false                               | +List.SelectItemByIndex( index,scroll )                       | index is a number, \\ scroll could be true or false                               | 
-ListView.SetBackColor( colorCode )                                                                                                                 | +List.SetBackColor( colorCode )                                                                                                                 | 
-ListView.SetBackGradient( color1,color2,color3,p4,p5,p6,p7 )                                                                                       | +List.SetBackGradient( color1,color2,color3,p4,p5,p6,p7 )                                                                                       | 
-ListView.SetBackGradientRadial( x,y,r,color1,color2,color3,p7 )  |                                                                                   | +List.SetBackGradientRadial( x,y,r,color1,color2,color3,p7 )  |                                                                                   | 
-ListView.SetBackground( imagefile,options )                      |                                                                                   | +List.SetBackground( imagefile,options )                      |                                                                                   | 
-ListView.SetDivider( height,color )                              |                                                                                   | +List.SetDivider( height,color )                              |                                                                                   | 
-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,newTitle,newBody,newImage )              |                                                                                   | +List.SetItem( title,newTitle,newBody,newImage )              |                                                                                   | 
-ListView.SetItemByIndex( index,newTitle,newBody,newImage )                                                                                         | +List.SetItemByIndex( index,newTitle,newBody,newImage )                                                                                         | 
-ListView.SetList( list,delimeter )                                                                                                                 | +List.SetList( list,delimeter )                                                                                                                 | 
-ListView.SetMargins( left,top,right,bottom )                                                                                                       | +List.SetMargins( left,top,right,bottom )                                                                                                       | 
-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,top,right,bottom )                                                                                                       | +List.SetPadding( left,top,right,bottom )                                                                                                       | 
-ListView.SetPosition( left,top,width,height )                    |                                                                                   | +List.SetPosition( left,top,width,height )                    |                                                                                   | 
-ListView.SetScale( x,y )                                                                                                                           | +List.SetScale( x,y )                                                                                                                           | 
-ListView.SetSize( width,height )                                                                                                                   | +List.SetSize( width,height )                                                                                                                   | 
-ListView.SetTextColor( colorCode )                                                                                                                 | +List.SetTextColor( colorCode )                                                                                                                 | 
-ListView.SetTextColor1( colorCode )                              |                                                                                   | +List.SetTextColor1( colorCode )                              |                                                                                   | 
-ListView.SetTextColor2( colorCode )                              |                                                                                   | +List.SetTextColor2( colorCode )                              |                                                                                   | 
-ListView.SetTextMargins( left,top,right,bottom )                                                                                                   | +List.SetTextMargins( left,top,right,bottom )                                                                                                   | 
-ListView.SetTextShadow( radius,dx,dy,color )                                                                                                       | +List.SetTextShadow( radius,dx,dy,color )                                                                                                       | 
-ListView.SetTextShadow1( radius,dx,dy,color )                    |                                                                                   | +List.SetTextShadow1( radius,dx,dy,color )                    |                                                                                   | 
-ListView.SetTextShadow2( radius,dx,dy,color )                    |                                                                                   | +List.SetTextShadow2( radius,dx,dy,color )                    |                                                                                   | 
-ListView.SetTextSize( size,mode )                                |                                                                                   | +List.SetTextSize( size,mode )                                |                                                                                   | 
-ListView.SetVisibility( ShowHide )                                                                                                                 |+List.SetVisibility( ShowHide )                                                                                                                 |
  
 ===== Available Options ===== ===== Available Options =====
built_in/lists.1466866111.txt.gz · Last modified: 2016/06/25 22:48 (external edit)