GuiGridListSetItemData: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (guiGridListSetItemData doesn't accept anything but strings)
Line 5: Line 5:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool guiGridListSetItemData ( element gridList, int rowIndex, int columnIndex, var data )
bool guiGridListSetItemData ( element gridList, int rowIndex, int columnIndex, string data )
</syntaxhighlight>  
</syntaxhighlight>  



Revision as of 17:22, 25 February 2010

This function sets a Item Data associated to a grid list item.

Syntax

bool guiGridListSetItemData ( element gridList, int rowIndex, int columnIndex, string data )

Required Arguments

  • gridList: A gridlist element of the data you wish to set to
  • rowIndex: The row of the item you wish to set to
  • columnIndex: The column of the item you wish to set to
  • data: The data you wish to set to the item.

Returns

Returns true if the data was set successfully, false otherwise

Example

This page lacks an example

--Add an example here

See Also

General functions

Browsers

Buttons

Checkboxes

Comboboxes

Edit Boxes

Gridlists

Memos

Progressbars

Radio Buttons

Scrollbars

Scrollpanes

Static Images

Tab Panels

Tabs

Text Labels

Windows