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 ahsoftw...@gmail.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode