folderex resize with splitter

folderex resize with splitter

Postby Silvio.Falconi » Wed Sep 25, 2013 6:53 am

On my application an final user found an error

When I move the splitter the folderex is good
Image


when I resize the splitter the folderex is small but I not see the controls into

Image


I wish resize also all controls... then the user can see if he resize the splitter


How I can make 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: folderex resize with splitter

Postby Silvio.Falconi » Wed Sep 25, 2013 6:45 pm

any solution ?
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: folderex resize with splitter

Postby gkuhnert » Thu Sep 26, 2013 7:34 am

Silvio,

assuming that the controls get a defined position on the folder you could implement a function on resizing, that changes the position of all controls and in case of characters, changes the size of these too.
Something like this might work:
Code: Select all  Expand view
oFld:bResized := { || ResizeDlg( oFld ) }

Function ResizeDlg( oFld )
local nI

for nI := 1 lo len(oFld:aControls)
    DO CASE
    CASE oFld:aControls[nI]:ClassName() == "TGET"
        // Resize and give the get the desired position
    CASE ... // do it for all types of controls you wish to change
    ENDCASE

next

return nil
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
User avatar
gkuhnert
 
Posts: 274
Joined: Fri Apr 04, 2008 1:25 pm
Location: Aachen - Germany // Kerkrade - Netherlands


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 76 guests