StartUp handler on Windows

Wolfgang M. Bereuter wmb at internettrainer.com
Thu Jan 23 08:40:01 EST 2003


On Donnerstag, Jänner 23, 2003, at 02:12  Uhr, erik hansen wrote:

>> Simpler:  if yo uwant initialization in either
>> the dev environment or as a
>> standalone, just move your init stuff to a
>> preOpenStack handler in the first
>> card of the main stack.
>
> right, and i did try that. the thing is, i only
> want this initialization to happen once, on
> startup. the preOpenStack handler is activated
> each time the stack is opened. maybe the usewr
> does not want re-initialization.

What I do is:
Main stack= Splashscreen (1 card) (solves also the problem that it 
cannot save etc...)
put any preopen stack script (depend what you wnat to do) into it
all items on this stack onMouseup are cheking a field in another stack 
(no matter what the user clicks)
If this check is ok I send the user to the "real" Main stack otherwise 
to another stack

If you dont want o force the user to click make a send message after 
some time...

hope thats understandable and helps,
wenn nicht ruf mich einfach an

regards
Wolfgang M. Bereuter

Learn easy with trainingsmaps©

INTERNETTRAINER Wolfgang M. Bereuter
Edelhofg. 17/11, A-1180 Wien, Austria
...............................
http://www.internettrainer.com, wmb at internettrainer.com
...............................
Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539




More information about the use-livecode mailing list