GuiGridListSetColumnTitle: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{client function}} This function is used to change the column title of a gridlist column. ==Syntax== <syntaxhighlight lang="lua"> bool guiGridListSetColumnTitle( element guiGridlist, int colu...")
 
No edit summary
Line 14: Line 14:
===Returns===
===Returns===
Returns ''true'' if the new title was set, or ''false'' otherwise.
Returns ''true'' if the new title was set, or ''false'' otherwise.
==Requirements==
{{Requirements|n/a|1.3.1-9.04939.0}}


==Example==
==Example==

Revision as of 20:11, 30 January 2013

This function is used to change the column title of a gridlist column.

Syntax

bool guiGridListSetColumnTitle( element guiGridlist, int columnIndex, string title )

Required Arguments

  • guiGridlist: The grid list you want to change the column title from
  • columnIndex: Culimn ID
  • title: The title of the column

Returns

Returns true if the new title was set, or false otherwise.

Requirements

Minimum server version n/a
Minimum client version 1.3.1-9.04939.0

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version client="1.3.1-9.04939.0" />

Example

-- Todo

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