Substack position
Posted: Tue Mar 16, 2010 7:05 pm
My main stack has just one button, and a substack. The code on the main stack's button is:
When I run the app within the Rev development environment, the substack opens, nicely positioned at the top left corner. When I close the substack, and press the button again, it appears precisely 102 pixels lower down.
Close the substack, and press the button again, and the substack is back to it's correct position. It alternates; every other button press, it appears 102 pixels down.
I must be doing something daft ... any ideas please ? (Rev 3.5 Studio on Windows XP)
Code: Select all
on mouseUp
set the topLeft of stack "Substack name" to 10, 33
open stack "Substack name"
end mouseUp
Close the substack, and press the button again, and the substack is back to it's correct position. It alternates; every other button press, it appears 102 pixels down.
I must be doing something daft ... any ideas please ? (Rev 3.5 Studio on Windows XP)