GuiWindowSetCloseButtonEnabled

From Multi Theft Auto: Wiki
Revision as of 16:01, 20 January 2009 by Ccw (talk | contribs)
Jump to navigation Jump to search


Dialog-information.png This article needs checking.

Reason(s): This function has been disabled in the code.

This function enables or disables the close button from the title bar of a GUI window.

Syntax

bool guiWindowSetCloseButtonEnabled ( [[element]] theElement, [[bool]] status )

Required Arguments

  • theElement: The window to be changed.
  • status: A boolean value indicating whether the close button is to be enabled or disabled.

Returns

Returns true if the function is successful, 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