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

modifying an existing sub-stack ? How

Post by liveme »

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: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: modifying an existing sub-stack ? How

Post by jmburnod »

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: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: modifying an existing sub-stack ? How

Post by dunbarx »

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

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

Re: modifying an existing sub-stack ? How

Post by Davidv »

There is also the Toplevel command, useful for modals and palettes.
liveme
Posts: 240
Joined: Thu Aug 27, 2015 5:22 pm

Re: modifying an existing sub-stack ? How

Post by liveme »

Thanks guys, I've just discovered the LC Project browser ! :shock: :P :P
liveme
Posts: 240
Joined: Thu Aug 27, 2015 5:22 pm

Re: modifying an existing sub-stack ? How

Post by liveme »

@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: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: modifying an existing sub-stack ? How

Post by Klaus »

You'll find all this in the Dictionary (Menu: Help)!
liveme
Posts: 240
Joined: Thu Aug 27, 2015 5:22 pm

Re: modifying an existing sub-stack ? How

Post by liveme »

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

Re: modifying an existing sub-stack ? How

Post by Davidv »

@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

Re: modifying an existing sub-stack ? How

Post by liveme »

Cool, will see yop ! tks
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: modifying an existing sub-stack ? How

Post by jacque »

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

Re: modifying an existing sub-stack ? How

Post by liveme »

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