FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Different sizes of dialog
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Different sizes of dialog
Posted: Wed Mar 13, 2024 09:24 AM
I would like to have the same resolution as my dialogs if I use a normal computer with 1280X1024 resolution (Win10) or if I use a tablet (10' tab type) with 1280X800 resolution (Win10) because every time I have to recompile my applications, I use to create my dialog these commands
Code (fw): Select all Collapse
#include 'fivewin.ch'
#include 'constant.ch'

   local  nBottom   := 43  // medie
   local  nRight    := 125.4    //Medie
   local  nWd       := Max( nRight * DLG_CHARPIX_W, 180 )
   local  nHt       := nBottom * DLG_CHARPIX_H

      DEFINE DIALOG oDlg SIZE nWd, nHt PIXEL TRUEPIXEL;
       FONT oFont   COLOR CLR_BLACK, CLR_WHITE  ;
       STYLE nOR( DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, ;
                  WS_MINIMIZEBOX)   ICON oIcon
Is there a fivewin method (no display 3.0) to recreate the dialogs at the same size if I use different monitors and computers?
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