` 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 November 21, 2024, 7:36 am
This article has been viewed/printed 35317 times.