CenterH

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > System functions > System > System.Desktop >

CenterH

 

Description

 

Returns horizontal coordinate of desktop center.

 

Syntax

 

desktopCenterH = System.Desktop.CenterH

 

Returns

 

Number, horizontal center coordinate in pixels

 

Remarks

 

Restrictions

 

Read only.

 

See also

 

Examples

 

uses "Console" 

 

printl System.Desktop.CenterH "," +System.Desktop.CenterV ' Will print "960x540" on PC with single display 1920x1080

 

waitKey