GuiGridListSetSelectedItem: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 10: Line 10:
===Required Arguments===  
===Required Arguments===  
*'''gridList:''' the grid list you want to select a row from
*'''gridList:''' the grid list you want to select a row from
*'''rowIndex:''' the row index you want to select
*'''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
*'''columnIndex:''' the column index from which you want to select a row (index '1' is the first column)


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

Revision as of 12:47, 15 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 a row from
  • 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)

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