Page 1 of 1

How to update window content while dragging?

Posted: Wed May 26, 2010 8:19 am
by Srdjan
Hi
I would like to be able to (while moving stack window on the screen) show window coordinates of the window in text field.
Problem is that nothing happens while dragging. Text field gets refreshed only when I release window.
There must be something I am missing here.

Regards

Re: How to update window content while dragging?

Posted: Wed May 26, 2010 10:24 am
by bn
Hi srdjan,
try this in the script of the stack or the script of the card your field is on:

Code: Select all

on moveStack
   put the rect of this stack into field 1 of card 1
end moveStack
that should do it.
regards
Bernd

Re: How to update window content while dragging?

Posted: Wed May 26, 2010 11:11 am
by Srdjan
This is it!

Thank you Bernd