Button object

Feature requests for future versions of Hollywood can be voiced here

Button object

Postby jPV » Sun Aug 13, 2017 5:39 pm

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
jPV
 
Posts: 92
Joined: Sat Mar 26, 2016 11:44 am
Location: RNO

Re: Button object

Postby airsoftsoftwair » Tue Aug 15, 2017 8:31 pm

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.
User avatar
airsoftsoftwair
 
Posts: 2283
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany


Return to Wishlist

Who is online

Users browsing this forum: No registered users and 1 guest