coordinates of computer/tablet

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

coordinates of computer/tablet

Post by Silvio.Falconi »

can we Know the size of screen of our pc or tablet to pen a Dialog with max sizes
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: coordinates of computer/tablet

Post by ukoenig »

Silvio,
can we Know the size of screen of our pc or tablet to pen a Dialog with max sizes
there are 2 functions to get the max size

nH := ScreenHeight()
nW := ScreenWidth()

DEFINE DIALOG oDlg SIZE nW, nH PIXEL TRUEPIXEL FONT oFont


regards
Uwe :D
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: coordinates of computer/tablet

Post by Silvio.Falconi »

thanks
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply