` 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 April 1, 2025, 11:12 pm
This article has been viewed/printed 35385 times.