lguitab:Remove

Discussion of Inner Space

Moderators: Lavish Software Team, Moderators

Post Reply
agitated
GamingTools Subscriber
Posts: 30
Joined: Sat Apr 28, 2007 5:05 pm

lguitab:Remove

Post by agitated » Sun Feb 17, 2008 7:38 pm

Docs say there is a remove method for lguitab, but when I try to use it my script crashes with error:

Code: Select all

No such 'lguiframe' method 'Remove'
Wiki says lguitab inherits from lguiframe. Is that why the error references that data type instead of lguitab?

How do I get to lguitab:Remove?

Thanks, as always!

~a

agitated
GamingTools Subscriber
Posts: 30
Joined: Sat Apr 28, 2007 5:05 pm

Post by agitated » Fri Mar 07, 2008 11:38 pm

I have this line of code:

Code: Select all

UIElement[${tab}@myTabs@Parent]:Remove
but it causes the script to crash. What am I not getting right? The tab exists but is being added dynamically with AddTab. Does that make a difference?

Thanks )
~a

Post Reply