Button object

Feature requests for future versions of Hollywood can be voiced here
Post Reply
User avatar
jPV
Posts: 603
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

Button object

Post by jPV »

I'm dealing with buttons a lot in certain programs, and I find it a bit difficult that I can't use HaveObject(#BUTTON...) to check if I have certain buttons. Buttons seem to disappear in some occasions, like when changing display/mode properties etc, and I've ended up to create them just in case again and again. On some program I also have to keep track of them in own table variable... while it would be easier if I could check if they exist and do things according it.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Button object

Post by airsoftsoftwair »

The problem is that buttons (like layers) are children of BGPics so they aren't global objects like brushes or BGPics. They shouldn't disappear unless you change the BGPic. If you have a code snippet which demonstrates the disappearance of buttons without BGPic changes, please post it and I'll examine it.
Post Reply