FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour dialog with the same size
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
dialog with the same size
Posted: Wed Feb 15, 2017 09:27 AM

how I can make a dialog with the same size into all pc and resolutions
I saw my dialogs are changed if I have small or Highter resolution
How I can to make it - the system must control the size of screen before and then create the dialog and resize all controls into
I use only @x,y source code no resources

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: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: dialog with the same size
Posted: Thu Feb 16, 2017 11:20 AM

I am also interested.
Best regards,
Otto

Posts: 2064
Joined: Fri Jan 06, 2006 09:28 PM
Re: dialog with the same size
Posted: Thu Feb 16, 2017 12:37 PM
Dios no está muerto...



Gracias a mi Dios ante todo!
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: dialog with the same size
Posted: Thu Feb 16, 2017 03:01 PM

What do you mean by "same size" ?
Hope you mean same proportion relative to the size of the screen size.
If so, it should not be difficult. Base your co-ordinate calculations on screenwidth() and screenheight()

Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: dialog with the same size
Posted: Fri Feb 17, 2017 12:10 PM
joseluisysturiz wrote:Buen dia, haber si esto ayuda, saludos...gracias... :-)

viewtopic.php?f=3&t=32466&p=190747&hilit=layout#p190747

viewtopic.php?f=3&t=30170&p=172496&hilit=layout#p172496

viewtopic.php?f=3&t=29053&p=163662&hilit=layout#p163662

viewtopic.php?f=6&t=27320&hilit=tlayout

viewtopic.php?f=3&t=27321&hilit=new+layout

viewtopic.php?f=6&t=19298&hilit=display3


Perhaps I wrote dialog and not window ...

1. link - >tlayout is for window
2. link - > tlayout is for window
3 link - > tlayout or EasyDialog the first for a window the second not run ok and it need a dbf ( lose resources)
4. link - >t layout is for window
5. link - >t layout is for window
6. link - >display 3.0 it is very complicated to use
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: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: dialog with the same size
Posted: Fri Feb 17, 2017 12:15 PM
I wish something of

Code (fw): Select all Collapse
DEFINE DIALOG oDlg  "TEST"

ACTIVATE DIALOG oDlg  RESIZE_ALL_SCREEN


WITH RESIZE_ALL_SCREEN i MEAN all controls are showed allways at the same @x,y respect the screenwidth() and screenheight() on all screens

I wrote it because I saw if I use resources the dialog is the same if I use @x,y the dialog is moved or it is smaller or Highter
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: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: dialog with the same size
Posted: Fri Feb 17, 2017 06:19 PM

I found a class of Charles Kwon (CLASS TDlgResize)
It run only with dialog made with resources
I think it can be modify to use with dialog No resource
Who can help to converte it ?

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: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: dialog with the same size
Posted: Sat Feb 18, 2017 08:37 AM

Hello Silvio,
Do you mean by “dialog with the same size“ a responsive design of dialogs and windows aimed at allowing our programs to be viewed in response to the size of the device one is viewing.
If yes I help contributing some Euros.
Best regards,
Otto

Continue the discussion