DgsCreateComboBox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→Syntax) |
||
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 = (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 = 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:56, 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 = 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)] )