Close Stack Cleanup

Mark Wieder ahsoftware at sonic.net
Thu Feb 4 21:55:49 EST 2021


On 2/4/21 6:33 PM, Curry Kenworthy via use-livecode wrote:

> The preOpenStack handler is NOT ideal for this type of cleanup.
> "Literally, to "clear the fields" of a stack."
> (And now we also know, a "complex" stack.)
> That is NOT something best done in preOpenStack.
> 
> A complex stack usually has multiple cards.
> The user is going from one card to the other - perhaps more than once.
> You need this type of cleanup triggered by preOpenCard!
> Whereas preOpenStack and startup are better for general init.
> Keep it modular; preOpenCard and Clear Form can call the same code.

Ah... quite right. I do stand corrected there.

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list