modifying an existing sub-stack ? How

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
liveme
Posts: 240
Joined: Thu Aug 27, 2015 5:22 pm
Location: down under

modifying an existing sub-stack ? How

Post by liveme » Mon Mar 15, 2021 10:35 pm

Hi,
I've created a substack DialogBox and it works when needed.
now, how can I modifying it again ? I can't find a way to open it in Edit mode...
I don't know where it is stored indeed - no name "DialogBox" nowhere... :roll:

any clue how to re-edit it ?

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: modifying an existing sub-stack ? How

Post by jmburnod » Mon Mar 15, 2021 11:26 pm

HI,
If it is a substack, this substack is linked to one main stack
You may search it in project browser once you have open the mainstack which call your substack
Best regards
Jean-Marc
https://alternatic.ch

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9580
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: modifying an existing sub-stack ? How

Post by dunbarx » Tue Mar 16, 2021 12:59 am

Or, if you have your mainStack open, just "go to stack "yourSubStack".

Craig

Davidv
Posts: 77
Joined: Sun Apr 09, 2006 1:51 am
Location: Australia

Re: modifying an existing sub-stack ? How

Post by Davidv » Tue Mar 16, 2021 1:16 am

There is also the Toplevel command, useful for modals and palettes.

liveme
Posts: 240
Joined: Thu Aug 27, 2015 5:22 pm
Location: down under

Re: modifying an existing sub-stack ? How

Post by liveme » Tue Mar 16, 2021 2:41 am

Thanks guys, I've just discovered the LC Project browser ! :shock: :P :P

liveme
Posts: 240
Joined: Thu Aug 27, 2015 5:22 pm
Location: down under

Re: modifying an existing sub-stack ? How

Post by liveme » Tue Mar 16, 2021 6:27 pm

@David, could you tell me more about this ?
:
There is also the Toplevel command,
is that a list of dif Commands - or aome reserved expression "Toplevel"... I saw the word in one of the LC menu, but no much more idea about this.

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: modifying an existing sub-stack ? How

Post by Klaus » Tue Mar 16, 2021 6:30 pm

You'll find all this in the Dictionary (Menu: Help)!

liveme
Posts: 240
Joined: Thu Aug 27, 2015 5:22 pm
Location: down under

Re: modifying an existing sub-stack ? How

Post by liveme » Tue Mar 16, 2021 6:47 pm

file:///home/zoro/.runrev/documentationcache/9_6_1_commercial/api.html

Ok, thanks, i'm a bit wondering "why" there is a command to edit a stack, but... well...its here :)
Would the Toplevel command- also - operate AFTER the final Application has been built, or its use is only possible while designing your project in the IDE ?

Davidv
Posts: 77
Joined: Sun Apr 09, 2006 1:51 am
Location: Australia

Re: modifying an existing sub-stack ? How

Post by Davidv » Tue Mar 16, 2021 10:30 pm

@liveme: klaus answered regarding documentation of toplevel. My understanding is that it works to make an otherwise closed style of stack available for editing in the IDE, which is not around in a standalone so I will be surprised if it were to have any effect then. If you are curious then you could test it and report any unexpected results.

David

liveme
Posts: 240
Joined: Thu Aug 27, 2015 5:22 pm
Location: down under

Re: modifying an existing sub-stack ? How

Post by liveme » Wed Mar 17, 2021 1:32 am

Cool, will see yop ! tks

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7215
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: modifying an existing sub-stack ? How

Post by jacque » Wed Mar 17, 2021 5:55 pm

See "mode" and "style" in the dictionary. Stacks can be displayed in several modes and each mode has different capabilities. Toplevel is the normal mode for most windows. The others have various restrictions and are used for different types of displays. For example, palettes do not allow editing and the tool is always the browse tool when the cursor enters the window. When you want to edit a palette you can charge the mode to toplevel temporarily, which does allow editing.

In desktop standalones these window styles work the same way.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

liveme
Posts: 240
Joined: Thu Aug 27, 2015 5:22 pm
Location: down under

Re: modifying an existing sub-stack ? How

Post by liveme » Wed Mar 17, 2021 6:40 pm

Uhhhh, this is getting a bit too complex for me now :D :D , I'll stick to the normal Editing for now, but tkx Jacque !

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”