dialog with the same size

dialog with the same size

Postby Silvio.Falconi » Wed Feb 15, 2017 9: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
Last edited by Silvio.Falconi on Thu Feb 16, 2017 11:35 am, edited 1 time in total.
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: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: dialog with the same size

Postby Otto » Thu Feb 16, 2017 11:20 am

I am also interested.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm


Re: dialog with the same size

Postby nageswaragunupudi » Thu Feb 16, 2017 3: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
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: dialog with the same size

Postby Silvio.Falconi » Fri Feb 17, 2017 12:10 pm



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 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: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: dialog with the same size

Postby Silvio.Falconi » Fri Feb 17, 2017 12:15 pm

I wish something of

Code: Select all  Expand view
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 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: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: dialog with the same size

Postby Silvio.Falconi » Fri Feb 17, 2017 6: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 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: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: dialog with the same size

Postby Otto » Sat Feb 18, 2017 8: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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 97 guests