AW: AW: open substack flickering despite lockscreen

Tiemo Hollmann TB toolbook at kestner.de
Thu Feb 4 08:17:36 CST 2010


Ah ok, the preopenstack is the clue!
Thanks Phil
Tiemo

> -----Ursprüngliche Nachricht-----
> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> bounces at lists.runrev.com] Im Auftrag von Phil Jimmieson
> Gesendet: Donnerstag, 4. Februar 2010 15:13
> An: How to use Revolution
> Betreff: Re: AW: open substack flickering despite lockscreen
> 
> Hi Tiemo,
> Add a preopenstack handler to the stack that you want to display modally,
> and in this handler, set the location you want the stack to occupy.
> When the stack opens up, before you see it it positions itself in the
> location you supplied, so:
> 
> on preopenstack
>   global tLocX,tLocY  --or some other way of passing the location you want
> - a custom property of the stack perhaps?
>   set the left of stack "lizenzinfo" to tLocX
>   set the top of stack "lizenzinfo" to tLocY
> end preopenstack
> 
> 
> then when you use the command
> 
> 
>     modal stack "lizenzinfo"
> 
> 
> your stack will be displayed at tLocX and tLocY
> 
> 
> On 4 Feb 2010, at 14:01, Klaus Major wrote:
> 
> > Hi Tiemo,
> >
> >> Hi Klaus,
> >>
> >> there is a saying "don't halloo, before you are out of the wood"
> >
> > ??? I only understand "station" :-D
> >
> >> When using just:
> >>
> >>  set the left of stack "lizenzinfo" to tLocX
> >>  set the top of stack "lizenzinfo" to tLocY
> >>  modal stack "lizenzinfo"
> >>
> >> the setting of the loc seems to be ineffective, The stack just opens at
> the
> >> default center position. When opening the stack, before setting the
> loc, as
> >> in my first approach, the positioning works, but the flickering.
> >> Any idea what's wrong?
> >
> > Oops, my fault!
> > I thought this behaviour only applies to the "Ask" and "Answer" dialogs,
> but a look into the docs proved me wrong.
> > This is obviously managed by the engine.
> >
> > No other idea, sorry.
> >
> >> Thanks
> >> Tiemo
> >
> > Best
> >
> > --
> > Klaus Major
> > http://www.major-k.de
> > klaus at major.on-rev.com
> >
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> --
> Phil Jimmieson  phil at liverpool.ac.uk  (UK) 0151 795 4236  (Mobile) 07976
> 983164
> Computer Science Dept., Liverpool University, Ashton Building, Ashton
> Street
> Liverpool L69 3BX              http://www.csc.liv.ac.uk/~phil/
> I used to sit on a special medical board... ...but now I use this
> ointment.
> 
> 
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list