ConSetWindowLoc command

 

Usage:

ConSetDesktopLoc PixelsX&, PixelsY&

 

Legacy Syntax:

CONSOLE SET LOC PixelsX&, PixelsY&

 

Pseudo-object Syntax:

CON.LOC = PixelsX&, PixelsY&

 

Moves the console window to a new location on the desktop.

 

The upper left corner destination of the window is specified in pixels, relative to the upper left corner of the desktop.

 

Conversion:

 

#IF %DEF(%PB_CC32)

  CONSOLE SET LOC PixelsX&, PixelsY&

#ELSE

  ConSetDesktopLoc PixelsX&, PixelsY&

#ENDIF

 

CON.LOC = or CONSOLE.LOC = may be substituted for CONSOLE SET LOC in programs written for PB/CC 6.

 

#IF %DEF(%PB_CC32)

  CON.LOC = PixelsX&, PixelsY&

#ELSE

  ConSetDesktopLoc PixelsX&, PixelsY&

#ENDIF

 

See Also: ConGetWindowLoc, ConGetWindowSize