AW: show/hide or open/close stack. What is good practice?

Tiemo Hollmann TB toolbook at kestner.de
Tue Oct 27 03:08:10 EDT 2015


Hi Jacque,
thanks for your experience, good to know.
Tiemo

-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag
von J. Landman Gay
Gesendet: Montag, 26. Oktober 2015 22:37
An: How to use LiveCode <use-livecode at lists.runrev.com>
Betreff: Re: show/hide or open/close stack. What is good practice?

On 10/26/2015 3:50 AM, Tiemo Hollmann TB wrote:
> if I have stacks, which are frequently shown, like dialog windows, 
> what is good practice. Open once and only show/hide, when using? Or 
> should you close those kind of stacks always and toplevel/modal them 
> again every time when needed? When I need to change anything in those 
> stacks on the fly, like button labels, I open them only once and hide/show
them when needed.
>
> Is this just a personal preference or is there a guideline on "how to" 
> in LC?

It's mostly personal preference, but it depends on whether the stacks are
substacks or not.

Substacks are always in RAM whether they are open or not, so it doesn't
matter whether you close them or hide them.

Independent stacks take up RAM so if they are no longer needed I usually
close and delete them.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list