PositionScreen
PositionScreen Xpos, Ypos
 
Parameters:

    Xpos = The X coordinate where you wish to position the screen at.
    Ypos = The Ycoord where you wish to position the screen at.
Returns: NONE
 

      PositionScreen lets you manually set where upon the screen you wise to locate the top left hand corner of the PlayBASIC window. The X and Y coordinates you give the command are in pixels and refer to the windows desktop.



FACTS:


     * The window will not be locked into position. So the user can move the window freely if they like.

     * Only works when the screen is in windowed mode.




Mini Tutorial:


      Position the window at location 10x,20y on the screen.

  
  
; Set X and Y positions of the screen.
  PositionScreen 10,20
  
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  




 
Related Info: CenterScreen | GetDeskTopHeight | GetDeskTopWidth | GetScreenXpos | GetScreenYpos :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com