Agnes Riley Posted November 24, 2016 Posted November 24, 2016 Hi everyone, I have 3 objects on a layout. I want to hide two, when their name is not in a global variable, aka they are not needed to show. Wrecking my head but can't find a way to do this, because I can't seem to get the name of the button from the button. Any ideas? Thanks, Agi
bruceR Posted November 24, 2016 Posted November 24, 2016 1. Did you give the buttons names? 2. Are you hoping for a script param option that sends "the name of me" as a script parameter? Seems like item 2 should exist; but it doesn't.
Agnes Riley Posted November 24, 2016 Author Posted November 24, 2016 Yes, Bruce, I gave them names. I also sent the parameter. Yes, that is what I was aiming for, Lee. I just didn't think the Self function would work for some reason. <-- Brain-freeze Now I only have one issue, the button gets selected (blue highlight frame), so I have to have a commit afterwards, and that's a little annoying. I'll go back to what I did before when I didn't have this issue, since I used a slider. :-) Thanks, guys! Appreciate the answers. Happy Thanksgiving! Agi
Agnes Riley Posted November 24, 2016 Author Posted November 24, 2016 I realized I didn't need to go to the object anymore since I removed the slider. So all is well.
Recommended Posts
This topic is 3189 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now