Garrett Hylltun wrote:
Rev 2.6.1

Greetings,

Where and how do I control the placement of my stack on the screen? I want to center my stack the first time the user runs my program, then from there on out, it will open where it was last when the user previously closed it.

Initially:

  set the loc of this stack to the screenloc

Then trap the "moveStack" system message and set a custom property:

  on moveStack -- user has moved the window
    set the cStackPos of this stack to the loc of this stack
  end moveStack

And after that:

  set the loc of this stack to the cStackPos of this stack

--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to