Basic Stack/Card Question
David Burgun
dburgun at dsl.pipex.com
Mon Apr 5 12:28:20 EDT 2004
Hi,
This is probably a very silly question, but as I'm a relative newbie
and am trying to get my head around some of the RR concepts I thought
I'd just ask this basic question here:
I have a Stack (window) that is setup so that there are some controls
that are constant within the window, and some that are on "Tabs"
within the window. When the user selects a tab, I want the constant
controls to remain where they are BUT the controls for that Tab to be
displayed. I had thought that I could use a seperate Card for each
"Tab", but it seems that a card covers the whole area of the Stack
(window). Is this correct?
If so, what is the best way to acheive what I want? Here is a simple
diagram of what I want:
+-------------------------------------------+
| Stack X |
+-------------------------------------------+
| ConstCtrl1 ConstCtrl2 ConstCtrl3 |
| |
| Tab1 Tab2 Tab3 Tab4 |
| |
| Tab1Ctrl1 Tab1Ctrt2 Tab1Ctrl3 |
| |
| |
+-------------------------------------------+
With the "Tab1" Tab selected.
+-------------------------------------------+
| Stack X |
+-------------------------------------------+
| ConstCtrl1 ConstCtrl2 ConstCtrl3 |
| |
| Tab1 Tab2 Tab3 Tab4 |
| |
| Tab2Ctrl1 Tab2Ctrt2 Tab2Ctrl3 |
| |
| |
+-------------------------------------------+
With the "Tab2" Tab selected.
Can this be done with RR?
Another way I was shown was to create a Group of Controls and then
either Show or Hide them depending on which tab the user presses. I
can see that this would work, but I'm confused as to how I would
actually create them within the RR IDE, e.g. Controls from Tab1 would
overlap on Tab2 and it wouldn't be at all easy to edit or control?
Any suggestions/ideas more then welcome.
Thanks a lot to all that helped with my Tabbed Button Question, I
see how to handle it now, but still a bit shakey on how to actually
implement it in practice!!
All the Best
Dave
More information about the use-livecode
mailing list