Resing a window

Resing a window

Postby Silvio.Falconi » Mon Jul 30, 2018 8:34 am

I have a window (Main) where I insert a dialog with style .or. 4

on this dialog I put a tPanel (oPanel) and in this panel many btnbmps.

when I resize this window the procedure should reduce all the btnbmps that are inside up to a min / max that I set with

oWndMain:aMinMaxInfo := { nil, nil, nil, nil, 878, 570, nil, nil }

I talk of 450 btnbmps and on widow there is also a ribbonbar

How I can resolve...
I saw on Microsoft there is a control of window ( like winword) reduce the window with all control inside , on fw this is possible ?
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: 7057
Joined: Thu Oct 18, 2012 7:17 pm

Re: Resing a window

Postby Silvio.Falconi » Mon Jul 30, 2018 4:34 pm

perhaps I resolved for resize control into opanel as you can see on this picture

BEFORE

Image


WITh RESIziNG

Image

but Now the problem is this :

when I resize the window the scroll of the Tpanel not recalc the position and when I move the scroll it show bad

how I can resolve 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: 7057
Joined: Thu Oct 18, 2012 7:17 pm

Re: Resing a window

Postby Silvio.Falconi » Mon Jul 30, 2018 4:56 pm

resolved thanks to Frank Demont ( I found a oldest source test on this forum after 3 Hour od research)
I think this method must be inserted on Window control as a Clausole type ZOOMWINDOW
it run really good !!!
thanks Frank
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: 7057
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 100 guests