DxListAddItem

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

Esta funcion agrega un texto al final de la una dxList.

Aviso: Esta es una función exportada por Modern-Library!

Sintaxis

bool dxListAddItem(element, item string)

Argumentos requeridos

  • element: La dxList creada.
  • item: Un string que representa el texto a agregar.

Ejemplo de Uso

loadstring( exports.dxLibrary:dxGetLibrary( ) )( )

--creamos una ventana
win = dxWindow(251, 21, 250, 300, 'Window DEMO', true, true)

--creamos una lista
list = dxList( 312, 347, 250, 203, win )

--le agregamos un valor a la lista.
dxListAddItem(list, 'Ruedas tipo 1')

Ver también

General Functions

Window

Button

CheckBox

Edit

GridList

Image

Label

List

ProgressBar

ScrollBar