GuiGridListSetSelectedItem

From Multi Theft Auto: Wiki
Revision as of 12:45, 15 February 2008 by SpZ (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function selects a specified row (and column) 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