Hello,
I want to populate my GUI with some cycle gadget.
But only at runtime I know of the items.
Is there a way to add/remove items from a cycle-gadget at runtime?
cycle gadget
Re: cycle gadget
Yes, have a look at mui.CreateObject.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
http://myevolve.wordpress.com
Re: cycle gadget
ok fine, solved the above,
now dealing with cycles, I can get the index of the active element, is there a way to get the index and the content of a cycle?
given this:
In case the active element is the one at index 0, the text to look for would be "2".
How can this be accessed?
now dealing with cycles, I can get the index of the active element, is there a way to get the index and the content of a cycle?
given this:
Code: Select all
<cycle id="cystatsleague" notify="active"><item>2</item><item>1</item><item>5</item></cycle>How can this be accessed?
Re: cycle gadget
I'd like to know how to get the Content of the active element too as I have yet to work this out.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
http://myevolve.wordpress.com
- airsoftsoftwair
- Posts: 5915
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: cycle gadget
It's not possible to get the contents of a cycle gadget because this isn't supported by MUI.