DgsCreateComboBox: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
element dgsDxCreateComboBox( float x, float y, float width, float height, bool relative, [ element parent = nil, element itemheight = 20, int textcolor = #000000, float scalex = 1, float scaley = 1, element defimg = nil, element selimg = nil, element cliimg = nil, int defcolor = #0078c8, int hovcolor= #005aff, int clicolor = #325afa] )
element dgsDxCreateComboBox( float x, float y, float width, float height, bool relative, [ element parent = nil, element itemheight = 20, int textcolor = #000000, float scalex = 1, float scaley = 1, element defimg = nil, element selimg = nil, element cliimg = nil, int defcolor = #0078C8C8, int hovcolor= #005aff, int clicolor = #325afa] )
</syntaxhighlight>
</syntaxhighlight>

Revision as of 08:27, 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, element itemheight = 20, int textcolor = #000000, float scalex = 1, float scaley = 1, element defimg = nil, element selimg = nil, element cliimg = nil, int defcolor = #0078C8C8, int hovcolor= #005aff, int clicolor = #325afa] )