DesktopX Theme Help

swapping?

I'll try to make sense with this if I can.
I'm making a DesktopX Theme. I have a widget/group with a button on it. What I want the button to do is this...
Open a smaller version of the group/widget
and CLOSE the larger one.
All I have been able to do is toggle the smaller one to open and close, without being able to close the larger one with that single button click.

I don't want to open the smaller version and then have to close the larger, I want it to work with just the one click.

Do I need to write a script for this (I hopenotIhopenot) or is there something I am missing ?

Any help would be apreciated.
1,737 views 4 replies
Reply #1 Top
Bump 2
Reply #2 Top
I haven't done this in a long time, but in the 'States' tab of the object there is another tab called 'messages'. I remember using this to open and close other objects. You have to give your closing object an object id (like 'big wiget') and refer to that name in the object you are going to click on (the smaller widget). There is a message you can send called 'hide'. Try that. It's not a very sophisticated way of doing it, but maybe you can play around with it and figure something out. Hope that helped a little
Reply #3 Top
Thanks. I'll try it out.
Reply #4 Top
Edit: The format for my post isn't working well so I'll just create a new post and hopefully it will work. Edit2: Werewolf is right! (I've been stuck on scripting for a while so I forgot about messages) I'll put the messages tip in my other Response post.