List

class List()

CreateList()

Также имеет аналогичные методы:

  • GetTextSize()
  • GetHeight()
  • GetWidth()
  • GetVisibility()
  • SetBackColor()
  • SetBackGradient()
  • SetBackGradientRadial()
  • SetBackground()
  • SetFontFile()
  • SetEllipsize()
  • SetMargins()
  • SetOnTouch() - в обработичк передаются 4 параметра: title, body, type, index
  • SetOnLongTouch() - в обработичк передаются 4 параметра: title, body, type, index
  • SetPadding()
  • SetPosition()
  • SetSize()
  • SetTextColor()
  • SetTextShadow()
  • SetTextSize()
  • SetVisibility()
List.AddItem(title, body, image)
List.GetList(delimeter)
List.RemoveItem(title)
List.SelectItem(name, body, scrollTo)
List.SelectItemByIndex(index, scroll)
List.SetEllipsize1(mode)
List.SetEllipsize2(mode)
List.SetHiTextColor1(colorCode)
List.SetHiTextColor2(colorCode)
List.SetDivider(height, color)
List.SetItem(title, newTitle, newBody, newImage)
List.SetList(list, delimeter)
List.SetTextColor1(colorCode)
List.SetTextColor2(colorCode)
List.SetTextMargins(left, top, right, bottom)
List.SetTextShadow1(radius, dx, dy, color)
List.SetTextShadow2(radius, dx, dy, color)
List.ScrollToItem(name, body)

ListView.AddItem( title,body,image ) ListView.GetAbsHeight() ListView.GetAbsWidth() ListView.GetHeight() ListView.GetItemByIndex( index ) ListView.GetLength() ListView.GetList( delimeter ) string = list.GetList(“,”); List.GetList() with no params returns object list ListView.GetPosition() ListView.GetTextSize( mode ) ListView.GetType() ListView.GetVisibility() ListView.GetWidth() ListView.InsertItem(index,title,body,image) ListView.RemoveAll() ListView.RemoveItem( title ) ListView.RemoveItemByIndex( index ) ListView.ScrollToItem( name,body ) ListView.ScrollToItemByIndex( index ) ListView.SelectItem( title,body,scrollTo ) ListView.SelectItemByIndex( index,scroll ) index is a number, scroll could be true or false ListView.SetBackColor( colorCode ) ListView.SetBackGradient( color1,color2,color3,p4,p5,p6,p7 ) ListView.SetBackGradientRadial( x,y,r,color1,color2,color3,p7 ) ListView.SetBackground( imagefile,options ) ListView.SetDivider( height,color ) ListView.SetEllipsize( mode ) ListView.SetEllipsize1( mode ) ListView.SetEllipsize2( mode ) ListView.SetFontFile( file ) ListView.SetHiTextColor1( colorCode ) ListView.SetHiTextColor2( colorCode ) ListView.SetItem( title,newTitle,newBody,newImage ) ListView.SetItemByIndex( index,newTitle,newBody,newImage ) ListView.SetList( list,delimeter ) ListView.SetMargins( left,top,right,bottom ) ListView.SetOnLongTouch( callback ) sets the function called when list is long-touched ListView.SetOnTouch( callback ) sets the function called when list is touched ListView.SetPadding( left,top,right,bottom ) ListView.SetPosition( left,top,width,height ) ListView.SetScale( x,y ) ListView.SetSize( width,height ) ListView.SetTextColor( colorCode ) ListView.SetTextColor1( colorCode ) ListView.SetTextColor2( colorCode ) ListView.SetTextMargins( left,top,right,bottom ) ListView.SetTextShadow( radius,dx,dy,color ) ListView.SetTextShadow1( radius,dx,dy,color ) ListView.SetTextShadow2( radius,dx,dy,color ) ListView.SetTextSize( size,mode ) ListView.SetVisibility( ShowHide