DgsCreateComboBox: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
element dgsDxCreateButton ( float x, float y, float width, float height, bool relative, [ element parent = nil, int textcolor = 0xFFFFFFFF, float scalex = 1, float scaley = 1, element defimg = nil, element selimg = nil, element cliimg = nil, int defcolor = 0xC80078C8, int selcolor = 0xC8005AFF, int clicolor = 0xC8325A] )
element dgsDxCreateComboBox( float x, float y, float width, float height, bool relative, [ element parent = nil, int textcolor = 0xFFFFFFFF, float scalex = 1, float scaley = 1, element defimg = nil, element selimg = nil, element cliimg = nil, int defcolor = 0xC80078C8, int selcolor = 0xC8005AFF, int clicolor = 0xC8325A] )
</syntaxhighlight>
</syntaxhighlight>

Revision as of 07:46, 11 August 2017

This function allows creation of a DGS ComboBox .

Syntax

element dgsDxCreateComboBox( float x, float y, float width, float height, bool relative, [ element parent = nil, int textcolor = 0xFFFFFFFF, float scalex = 1, float scaley = 1, element defimg = nil, element selimg = nil, element cliimg = nil, int defcolor = 0xC80078C8, int selcolor = 0xC8005AFF, int clicolor = 0xC8325A] )