GuiGridListSetSelectedItem: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: {{Client function}} __NOTOC__ This function selects a specified row (and column) from a gridlist. ==Syntax== <syntaxhighlight lang="lua"> bool guiGridListSetSelectedItem ( element gridList, int rowInde...)
 
No edit summary
Line 1: Line 1:
{{Client function}}
{{Client function}}
__NOTOC__
__NOTOC__
This function selects a specified row (and column) from a gridlist.
This function selects an item from a gridlist.


==Syntax==  
==Syntax==  

Revision as of 12:45, 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
  • columnIndex: the column index from which you want to select a row

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