GuiGridListSetSelectedItem: Difference between revisions

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


===Required Arguments===  
===Required Arguments===  
*'''gridList:''' the grid list you want to select a row from
*'''gridList:''' the grid list you want to select an item from
*'''rowIndex:''' the row index you want to select (index ''0'' is the first row)
*'''rowIndex:''' the row index you want to select (index 0 is the first row)
*'''columnIndex:''' the column index from which you want to select a row (index ''1'' is the first column)
*'''columnIndex:''' the column index you want to select (index 1 is the first column)


===Returns===
===Returns===

Revision as of 22:54, 16 February 2008

This function selects an item from a gridlist.

Syntax

bool guiGridListSetSelectedItem ( element gridList, int rowIndex, int columnIndex )

Required Arguments

  • gridList: the grid list you want to select an item from
  • rowIndex: the row index you want to select (index 0 is the first row)
  • columnIndex: the column index you want to select (index 1 is the first column)

Returns

Returns true if the passed arguments are correct and the item has been selected, false otherwise.

Example

-- provide 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