Hi
Would it be possible to include a #SIMPLEBUTTON object in the list of objects that the function GetObjects() can access? Or is the #SIMPLEBUTTOM not really an object...?
The idea is to make it possible to traverse the list of #SIMPLEBUTTON objects and do stuff like deleting them all or whatever.
Also would it be possible to have a statement like 'ForceButton(id)' to trigger the relevant button event. This might be handy for debugging and recreation of buttons, since the Button event returns ID, dimensions etc., so if it was combined with the first suggestion, you could create a list with informations about buttons in use at any time by triggering them as you traversed the result from the GetObjects() statement.
regards
Jesper
Access to #SIMPLEBUTTON objects
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Access to #SIMPLEBUTTON objects
Currently, buttons are not normal Hollywood objects but reside inside BGPics. Maybe I'll change this in a future version along with a function like ForceButton(). There are higher priority things at the moment, though
Re: Access to #SIMPLEBUTTON objects
I too think that ForceButton had became handy couple of times.