GuiMemoSetReadOnly: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ This function allows you to set or remove read-only status for a GUI memo. If read-only is set to ''true'', the contents are not editable. ==Syntax== <syntaxhighlight lang="lua"> bool guiMem...)
 
No edit summary
Line 1: Line 1:
{{Client function}}
__NOTOC__  
__NOTOC__  
This function allows you to set or remove read-only status for a GUI memo. If read-only is set to ''true'', the contents are not editable.
This function allows you to set or remove read-only status for a GUI memo. If read-only is set to ''true'', the contents are not editable.

Revision as of 05:26, 31 December 2008

This function allows you to set or remove read-only status for a GUI memo. If read-only is set to true, the contents are not editable.

Syntax

bool guiMemoSetReadOnly ( gui-memo theMemo, bool status )

Required Arguments

  • theMemo: The memo to change read-only status of.
  • status: A boolean value indicating whether read-only is to be enabled or disabled.

Returns

Returns true if the status was successfully changed, false otherwise.

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