DgsCreateComboBox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
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, int textcolor = 0xFFFFFFFF, float scalex = 1, float scaley = 1, element defimg = nil, element selimg = nil, element cliimg = nil, int defcolor = | 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 = (0,120,200,200), int hovcolor= (0,90,255,200), int clicolor = (50,90,250,200)] ) | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 07:51, 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 = (0,120,200,200), int hovcolor= (0,90,255,200), int clicolor = (50,90,250,200)] )