How is the built-in controls made?
selid at broadpark.no
Wed Nov 9 15:44:10 CST 2005
If I understand this right the "Tab Panel" is just a button. And the face of
the button is what changes.
But...The "face"? What is the face made of? Polygons? Lines?
The reason I'm making a fuzz about this is that I would really like to make
that behaves like that, instead of making 2 to 10 buttons in a group. It
saves space if you can make a button behave like that.
And I think it is much cleaner to have 1 object instead of a lot in a group.
(just for references)
I don't like to use groups all the time, because I don't want to have to
many objects in my stack.
>tab tab panel is a button that looks like a tab panel, it just looks like,
>when you press any of the options a simple menuPick message is triggered
>and the face of the button changes but no control is hidden or displayed,
>you must take care of those things your self. You can hide/show groups or
>traverse cards. It's just a nice button that triggers menuPick message
>like all "menu like" buttons.
>I don't think there's a huge inner working since all is done by yourself,
>you need to code your tab panel, all the IDE does is provide you with nice
>graphics and a pre-packed button.
More information about the use-livecode