FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour two get and explorebar
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
two get and explorebar
Posted: Tue Sep 11, 2018 12:51 PM
I must insert two gets control into a explorebar as you can see here




But I wish the gets have the width until the end of the explorer and when I resize the spliter the gets must change their width


I build the explorer with

oExBar = TExplorerBar():New(0,0, nSplit,oApp():nBottom, oApp():oDlg)

and then

oApp():bChange :={ |oSplit | oExBar:refresh() }

to build the gets
Code (fw): Select all Collapse
@ 42,10 say "Cognome :" of oPanel1 transparent SIZE 50,20 PIXEL
    @ 70,10 say "Nome   :" of oPanel1 transparent SIZE 40,20 PIXEL

    @ 40,75  Get aget[1] VAR cCognome  SIZE oPanel1:nRight-100,20 PIXEL   of oPanel1 UPDATE
    @ 68,75  Get aget[2] VAR cnome  SIZE oPanel1:nRight-100,20 PIXEL  of oPanel1  UPDATE


I think I must refresh the controls are into first panel of oExbar

I tried also with

oApp():bChange :={ |oSplit | oExBar:aPanels[1]:refresh() }

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: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: two get and explorebar
Posted: Tue Sep 11, 2018 01:20 PM
resolved
I insert aGetsearch as static and then

Code (fw): Select all Collapse
 
oApp():oSplit:bChange :={ |oSplit | oExBar:aPanels[1]:refresh(),;
                                          aGetSearch[1]:nWidth:=oExBar:aPanels[1]:nright-100,;
                                          aGetSearch[2]:nWidth:=oExBar:aPanels[1]:nright-100,;
                                          aGetSearch[1]:refresh(),;
                                          aGetSearch[2]:refresh()}
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

Continue the discussion