Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
How to build dialogs in Gideros? — Gideros Forum

How to build dialogs in Gideros?

SuhadaSuhada Member
edited March 2013 in General questions
I'm new to Gideros but not new to lua / prgramming / mobile.
I'm looking for a way to create dialogs including textboxes, dropdowns, radio buttons, pickerwheel, etc.
Ideally allowing a longer list than will fit onscreen by using scrolling.
Similar to android setup/configuration screens.

The nicest API/implementation for this type of thing I've seen is IupGetParam at http://www.tecgraf.puc-rio.br/iup/
It allows you to use a call like:
iup.GetParam("Title", param_action,
"Boolean: %b\n"..
"Integer: %i\n"..
"Real 1: %r\n"..
"Integer: %i[0,255]\n"..
"Real 2: %r[-1.5,1.5]\n"..
"String: %s\n"..
"Multiline: %m\n",
pboolean, pinteger, preal, pinteger2, preal2, pstring, pstring2)
And it then just creates the necesary widgets and layout.
So that would be my ideal but that's on Windows and I'm working on Android/IOS!

Any advice on the best approach to this in the Gideros World?
Tagged:
Sign In or Register to comment.