opening 2 cards
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 931
- Joined: Thu Nov 13, 2008 6:48 am
- Location: London, UK
opening 2 cards
I'd like to try something I've never done before, and I'm not sure how to get started. I'd like to store examples of a number of custom field definitions on a card, and then have that card open while I develop and copy and paste objects from this "object library" card to the application I am working on. To me it doesn't sound much different than having the script or property window open while you work (you can have both open on the screen at once, with your application open) but so far my experience with LC is that whenever I open a new card it doesn't open in a new window, it just replaces the card that I have open. That won't really work in this case. I'd like to have the "object library" card open (similar to having the tools palette open) while I work, so it's handy.
Any suggestions as to how to get this to work? I guess, now that I think about, what I am saying is I want to have my own customs tool palette open with custom field objects on it that I can just drag into my application window. Is there a tutorial around on how to develop something like that?
Many thanks
Any suggestions as to how to get this to work? I guess, now that I think about, what I am saying is I want to have my own customs tool palette open with custom field objects on it that I can just drag into my application window. Is there a tutorial around on how to develop something like that?
Many thanks
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS
Targets: Mac, iOS
Re: opening 2 cards
Hi Mark,
bad luck, a stack = a window and only one card per window!
Best
Klaus
bad luck, a stack = a window and only one card per window!
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 9834
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: opening 2 cards
If you want it in a new window, it's gotta be in a new window. Cards are bound to a stack, one stack per window.
Is there a reason this couldn't work as a substack?
Is there a reason this couldn't work as a substack?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 9662
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: opening 2 cards
What everyone said.
So can't you "rethink" your issue about having a card in the same stack open in a new window? In other words, what is the difference? That definitions"" card NEED not be part of the stack, right?
I have often cut through a lot of convoluted development (and often trashed a lot of work, happily, though, in the end) by just starting over with a little new thinking.
Craig Newman
So can't you "rethink" your issue about having a card in the same stack open in a new window? In other words, what is the difference? That definitions"" card NEED not be part of the stack, right?
I have often cut through a lot of convoluted development (and often trashed a lot of work, happily, though, in the end) by just starting over with a little new thinking.
Craig Newman
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: opening 2 cards
Just for fun:
Of course it is possible to look at two cards of the same stack at the same time.
Simply open a new instance of LiveCode and open the same stack.
As long as you don't save it with the second instance there will be no problem.
Of course it is possible to look at two cards of the same stack at the same time.
Simply open a new instance of LiveCode and open the same stack.
As long as you don't save it with the second instance there will be no problem.
shiftLock happens
-
- VIP Livecode Opensource Backer
- Posts: 931
- Joined: Thu Nov 13, 2008 6:48 am
- Location: London, UK
Re: opening 2 cards
Good suggestion Richard, thanks. I'm working on it. Haven't got it finished yet but will let you know how it goes.
Mark
Mark
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS
Targets: Mac, iOS