FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour folderex resize with splitter
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
folderex resize with splitter
Posted: Wed Sep 25, 2013 06:53 AM
On my application an final user found an error

When I move the splitter the folderex is good



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




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 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: folderex resize with splitter
Posted: Wed Sep 25, 2013 06:45 PM

any solution ?

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: 274
Joined: Fri Apr 04, 2008 01:25 PM
Re: folderex resize with splitter
Posted: Thu Sep 26, 2013 07: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 (fw): Select all Collapse
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

Continue the discussion