Page 1 of 1

modifying an existing sub-stack ? How

Posted: Mon Mar 15, 2021 10:35 pm
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 ?

Re: modifying an existing sub-stack ? How

Posted: Mon Mar 15, 2021 11:26 pm
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

Re: modifying an existing sub-stack ? How

Posted: Tue Mar 16, 2021 12:59 am
by dunbarx
Or, if you have your mainStack open, just "go to stack "yourSubStack".

Craig

Re: modifying an existing sub-stack ? How

Posted: Tue Mar 16, 2021 1:16 am
by Davidv
There is also the Toplevel command, useful for modals and palettes.

Re: modifying an existing sub-stack ? How

Posted: Tue Mar 16, 2021 2:41 am
by liveme
Thanks guys, I've just discovered the LC Project browser ! :shock: :P :P

Re: modifying an existing sub-stack ? How

Posted: Tue Mar 16, 2021 6:27 pm
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.

Re: modifying an existing sub-stack ? How

Posted: Tue Mar 16, 2021 6:30 pm
by Klaus
You'll find all this in the Dictionary (Menu: Help)!

Re: modifying an existing sub-stack ? How

Posted: Tue Mar 16, 2021 6:47 pm
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 ?

Re: modifying an existing sub-stack ? How

Posted: Tue Mar 16, 2021 10:30 pm
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

Re: modifying an existing sub-stack ? How

Posted: Wed Mar 17, 2021 1:32 am
by liveme
Cool, will see yop ! tks

Re: modifying an existing sub-stack ? How

Posted: Wed Mar 17, 2021 5:55 pm
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.

Re: modifying an existing sub-stack ? How

Posted: Wed Mar 17, 2021 6:40 pm
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 !