Question regarding the Tab Control object...
Hey, folks!
I have a question regarding Looki's Tab Control object... I am using it to simulate a multi-tab document viewer. I have been able to successfully set up tabs. However, I am a bit stumped on how to close opened tabs. I would like to have something similar to a Web browser, where there is a "Close" icon attached to each tab (though the close button would only display when the mouse is hovering over the tab).
While I have placed a "closed" icon with each tab, I don't know how to call a condition so that if the icon is clicked, that tab is closed. The only idea I have to close a tab would be to require the user to right-click on the tab, then place a Pop-Up Menu object with an option to close the tab; this wouldn't be very intuitive, though, so I'd rather find some way for the user to click on something on the tab to close it.
Any ideas?
Thank you very much in advance for your help!
Most appreciatively...
RGBreality