DgsCreateComboBox: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
  This function allows creation of a DGS ComboBox .
  This function allows creation of a DGS ComboBox .
==Syntax==
<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] )
</syntaxhighlight>

Revision as of 07:46, 11 August 2017

This function allows creation of a DGS ComboBox .

Syntax

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] )