GuiEditSetReadOnly

From Multi Theft Auto: Wiki
Revision as of 04:09, 21 December 2006 by JonChappell (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function allows you to set or remove read-only status for an edit box. If read-only is set to true, the box is not editable.

Syntax

bool guiEditSetReadOnly ( element theElement, bool status )

Required Arguments

  • theElement: The edit box to be changed.
  • status: A boolean value indicating whether read-only 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