` Printed Icetips Article

Icetips Article



Par2: Get and change window position
2006-12-18 -- Jeff Slarve
 
GetPosition()

Pass a zero for the window

-----

ALERT() the keycodes that you wish to trap.

Trap the keycodes in the EVENT:AlertKey embed

  Example:

  Case KeyCode()
  of LeftKey
    GetPosition(0,X,Y)
    X -= HoweverMuchYouWishToMove
    SetPosition(0,X,Y)
  of RightKey
    !Exercise for Tim
  Yada yada yada
  end



Printed May 13, 2024, 2:09 am
This article has been viewed/printed 35120 times.