FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour coordinates of computer/tablet
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

coordinates of computer/tablet

Posted: Tue Jul 16, 2019 04: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 March-April 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
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM

Re: coordinates of computer/tablet

Posted: Tue Jul 16, 2019 07: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 :-)
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.
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

Re: coordinates of computer/tablet

Posted: Wed Jul 17, 2019 04:40 PM

thanks

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 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

Continue the discussion