openStack event lost

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
mmiele
Posts: 55
Joined: Sun Jan 21, 2007 1:25 pm

openStack event lost

Post by mmiele » Sat Feb 21, 2009 12:28 pm

Hi,

I wrote a stack referring to a library (by "start using") and to an external (EnhancedQT). I used Rev.3.
The library contains facilities I wrote and I usually refer to it without issues.
My openStack handler just does a "start using" the library and initializes some variables. It is into the stack script.

When I transform the stack into an application, no "openStack" message is generated (or, at least, it doesn't reach the stack script).

I found a workaround using

Code: Select all

on preOpenStack
   send "openStack" to this stack
end preOpenStack
but this way it performs "openStack" twice!

Any idea?

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Post by mwieder » Sat Feb 21, 2009 6:27 pm

For a standalone app, try the startup message. You won't get the startup message if you're working in the IDE, so your development work won't be affected.

Post Reply