hello. I am a real newbie to Livecode, coming from MS/Access.
In my application I need to have a number of forms, that show different views of the backbone database. In ms/access it is quite easy: you just design a master form and program a button that enables you to jump to a specific form, opening it. On the subform, on the "open event" you close the original form (if needed), and you program a button that will reopen it.
I reckon that, in livecode, I must design a stack for each of the forms. My question is: how do we navigate on them? Or is there a completly different paradigm that I am overlooking?
navigate between forms/stacks
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: navigate between forms/stacks
Hi...
You don't need to put each form in a new stack... You can put a form on separate cards in a stack... or use 'tabs' and put a form into a group, hiding and showing groups depending on which 'tab' you click on...
You don't need to put each form in a new stack... You can put a form on separate cards in a stack... or use 'tabs' and put a form into a group, hiding and showing groups depending on which 'tab' you click on...
-
- VIP Livecode Opensource Backer
- Posts: 9669
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: navigate between forms/stacks
Hi.
What Dixie said, and that holds true even if the physical size of each form is different.
I assume that when you say Access allows you to jump to different forms, based on a master form, that the default data in each instance changes, but not the format of the form itself. Is that what you meant? If so, and I cannot imagine it otherwise, then, again, what Dixie said. Write back if you need a jump start.
Craig Newman
What Dixie said, and that holds true even if the physical size of each form is different.
I assume that when you say Access allows you to jump to different forms, based on a master form, that the default data in each instance changes, but not the format of the form itself. Is that what you meant? If so, and I cannot imagine it otherwise, then, again, what Dixie said. Write back if you need a jump start.
Craig Newman
Re: navigate between forms/stacks
Hi,
True and true...
However just to answer your initial question, you can still
if you want to stick to stack (Ha! Pun!) based forms.
Fred.
True and true...
However just to answer your initial question, you can still
Code: Select all
go to card 1 of stack myStack in window
Fred.
-
- Posts: 18
- Joined: Sat Mar 01, 2014 10:35 pm
Re: navigate between forms/stacks
Hi all !
Thanks a lot. It's working now with your help!
Thanks a lot. It's working now with your help!