GuiRadioButtonSetSelected: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ This function selects or unselects a radio buttom. ==Syntax== <syntaxhighlight lang="lua"> bool guiCheckBoxSetSelected ( element guiRadioButton, bool state ) </syntaxhighlight> ===Required Arguments=...)
 
mNo edit summary
Line 1: Line 1:
__NOTOC__  
{{Client function}}
This function selects or unselects a radio buttom.
__NOTOC__
This function selects or unselects a radio button.


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool guiCheckBoxSetSelected ( element guiRadioButton, bool state )
bool guiRadioButtonSetSelected ( element guiRadioButton, bool state )
</syntaxhighlight>  
</syntaxhighlight>  



Revision as of 11:16, 16 January 2008

This function selects or unselects a radio button.

Syntax

bool guiRadioButtonSetSelected ( element guiRadioButton, bool state )

Required Arguments

  • guiRadioButton: The GUI radio button in which you wish to change the selection state of
  • state: The state of the radio button, where true indicates selected, and false indicates unselected.

Returns

Returns true if the radio button's selection state was successfully set, false otherwise.

Example

This page lacks an example

--add an example here

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