On October 2, 2010 at 00:03, nicroman said...
I might be completely dumb, but couldn't find the information in this forum nor in the pronto script documentation...
Question 1: How one can enumerate buttons insides a page ?
Enumeration is not possible although I've requested such a feature. You must know the tags (aka ProntoScript names) of Activities, Pages, Widgets (Buttons, and Panels).
I also requested that instead of PageEnter/Exit, we have OnPageEnter/OnPageExit events.|
Question 2: How one can "re-order" buttons in a page ?
ZOrder is the term you are looking for and you cannot change the ZOrder. Again, a feature I've previously requested.
The only way to bring a widget to the front is to create a new one dynamically which is documented in the post above.