Access to #SIMPLEBUTTON objects

Feature requests for future versions of Hollywood can be voiced here
Post Reply
User avatar
TheMartian
Posts: 109
Joined: Sun Feb 28, 2010 12:51 pm

Access to #SIMPLEBUTTON objects

Post by TheMartian »

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
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Access to #SIMPLEBUTTON objects

Post by airsoftsoftwair »

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 :)
Bugala
Posts: 1180
Joined: Sun Feb 14, 2010 7:11 pm

Re: Access to #SIMPLEBUTTON objects

Post by Bugala »

I too think that ForceButton had became handy couple of times.
Post Reply