Make a select

In making a select, we use the following function.

ui_select_create (x, y, width, height, label);

Return: Ds_map

Where x and y are the select position is placed, the width is the width select which by default will be worth 320. The height is the height select. If you can use macros ui_default then high will adjust the width of the text. And finally we can add a label with a label argument.

selectCountry = ui_select_create (32, 64, ui_default, ui_default, "Country");

The above line of code is used to create a select with the label "Country" at a certain position with the default size.

results matching ""

    No results matching ""