GuiGridListSetItemColor

From Multi Theft Auto: Wiki
Revision as of 21:28, 28 August 2010 by X86dev (talk | contribs)
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 = 255 ] )

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