coordinates of computer/tablet

coordinates of computer/tablet

Postby Silvio.Falconi » Tue Jul 16, 2019 4:51 pm

can we Know the size of screen of our pc or tablet to pen a Dialog with max sizes
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7053
Joined: Thu Oct 18, 2012 7:17 pm

Re: coordinates of computer/tablet

Postby ukoenig » Tue Jul 16, 2019 7:54 pm

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
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: coordinates of computer/tablet

Postby Silvio.Falconi » Wed Jul 17, 2019 4:40 pm

thanks
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7053
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 84 guests