- Joined
- Aug 3, 2004
- Messages
- 2,906
So I created a dialog box with an array of 6 buttons that I want to cycle through when clicked, so that the dialog box doesn't close it just updates the button name and this can be done for a period of 45 seconds:
Enable Heroes -> Disable Heroes
Normal Resources -> Medium Resources -> High Resources
All Tiers -> Tier 1 Only -> Tier 2 Only
No Research Done -> All Research Done
Map Bounds -> Boarderless Map
Done
Either when the 45 seconds is up or when the done button is clicked is when the results for each button are dealt with. So far all I've been able to do is set up the dialog box with the 6 buttons - however I can't figure out how to get them to replace each other and how to keep the whole box from disappearing when one button is clicked.
Enable Heroes -> Disable Heroes
Normal Resources -> Medium Resources -> High Resources
All Tiers -> Tier 1 Only -> Tier 2 Only
No Research Done -> All Research Done
Map Bounds -> Boarderless Map
Done
Either when the 45 seconds is up or when the done button is clicked is when the results for each button are dealt with. So far all I've been able to do is set up the dialog box with the 6 buttons - however I can't figure out how to get them to replace each other and how to keep the whole box from disappearing when one button is clicked.