GuiCreateGridList: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Line 6: Line 6:
<!-- NOTE: don't use 'special' names for variable names, e.g. you shouldn't be writing things like 'player player, vehicle vehicle', instead write something like 'player thePlayer, vehicle vehicleToGetInto'. This is less confusing and prevents the syntax highlighting being odd -->
<!-- NOTE: don't use 'special' names for variable names, e.g. you shouldn't be writing things like 'player player, vehicle vehicle', instead write something like 'player thePlayer, vehicle vehicleToGetInto'. This is less confusing and prevents the syntax highlighting being odd -->
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
returnType functionName ( arguments )
element guiCreateGridList ( float x, float y, float width, float height, bool relative, element parent )
</syntaxhighlight>  
</syntaxhighlight>  


Line 13: Line 13:
*'''X:''' description
*'''X:''' description
*'''Y:''' description
*'''Y:''' description
*'''Z:''' description
*'''Width:''' description
*'''Width:''' description
*'''Height:''' description
*'''Height:''' description

Revision as of 10:53, 16 June 2007

This fake function is for use with blah & blah and does blahblahblabhalbhl

Syntax

element guiCreateGridList ( float x, float y, float width, float height, bool relative, element parent )

Required Arguments

  • X: description
  • Y: description
  • Width: description
  • Height: description
  • Relative: description
  • Parent: description


Optional Arguments

NOTE: When using optional arguments, you might need to supply all arguments before the one you wish to use. For more information on optional arguments, see optional arguments.

  • argumentName2: description
  • argumentName3: description

Returns

Returns true if blah, false otherwise.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo

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