DgsCreateComboBox: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Line 3: Line 3:
==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 = 0xFFFFFFFF, float scalex = 1, float scaley = 1, element defimg = nil, element selimg = nil, element cliimg = nil, int defcolor = (0,120,200,200), int hovcolor= (0,90,255,200), int clicolor = (50,90,250,200)] )
element dgsDxCreateComboBox( float x, float y, float width, float height, bool relative, [ element parent = nil, element itemheight = 20, int textcolor = (0,0,0,225), float scalex = 1, float scaley = 1, element defimg = nil, element selimg = nil, element cliimg = nil, int defcolor = (0,120,200,200), int hovcolor= (0,90,255,200), int clicolor = (50,90,250,200)] )
</syntaxhighlight>
</syntaxhighlight>

Revision as of 08:00, 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 = (0,0,0,225), float scalex = 1, float scaley = 1, element defimg = nil, element selimg = nil, element cliimg = nil, int defcolor = (0,120,200,200), int hovcolor= (0,90,255,200), int clicolor = (50,90,250,200)] )