getting cards open to use formatteHeight

Dr. Hawkins dochawk at gmail.com
Fri Jul 25 17:13:03 EDT 2014


I need to use the formattedHeight of data for calculations of slzes as I
lay out forms

I have the sequence of

   lock messages
   push card
   open invisible (long id of source card here)
   pop card
   unlock messages

to insure that the necessary card is open.

This results, though, in my main stack popping forward.

There is a routine in the main stack that activates after a couple of
seconds of no typing to synchronize (in sends itself a message in 100 ms or
so to rerun).

It appears that the mainstack has become the first line of the openStacks
before hitting that "lockMessages" above (which is in a handler in my
output stack).


And, of course, this is one of those ones that doesn't manifest the same
way when single stepping (because the code window becomes the front stack?)

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



More information about the use-livecode mailing list