GuiGridListSetItemColor

From Multi Theft Auto: Wiki
Revision as of 18:30, 20 March 2010 by Gamesnert (talk | contribs) (Created page with '{{Client function}} __NOTOC__ This function changes the color of a gridlist item. ==Syntax== <syntaxhighlight lang="lua"> bool guiGridListSetItemColor ( element gridList, int rowIndex, int co…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function changes the color of a gridlist item.

Syntax

bool guiGridListSetItemColor ( element gridList, int rowIndex, int columnIndex, int red, int green, int blue[, int alpha ] )

Required Arguments

  • gridList: The grid list element
  • rowIndex: Row ID
  • columnIndex: Column ID
  • red: The amount of red in the color (0-255)
  • green: The amount of green in the color (0-255)
  • blue: The amount of blue in the color (0-255)

Optional Arguments

  • alpha: The amount of alpha in the color (0-255).

Returns

Returns true if the item color was set successfully, false otherwise.

Example

-- Needs example

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