FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Topbar xbrowse problems -Resolved
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Topbar xbrowse problems -Resolved
Posted: Sun May 16, 2021 10:34 AM
I have two xbrowses with two topbar, on second ( down)



I don't see the images or rather I see them small in the first combobox and tiny in the second combobox, how is this possible?



and sometimes when I move the horizontal spletter the arrows of the scrollbar of the first xbrowse disappear








this is the function to create the topbar of xbrowse down
Code (fw): Select all Collapse
  

Function TaGridSetupBar3(oGrid, oTariffeMultipli,aServizi,aListini,aSelectBmp,aServiziBmp)
           Local nTariffeshow:="Tutte le tariffe"
            local nTiposhow := 1


      oApp():oGrid3:nTopBarHeight := 90
      oApp():oGrid3:SetStyle( 2015 )

   oApp():oGrid3:bOnAdjust := <||
   local oBtn, oSayServizi

       local nrow:= 05
       local ncol:= 125
       local aShowTariffe:={"Tutte le tariffe","Solo gli elementi","Solo i pacchetti","Solo i servizi"}

       @ nrow,5 SAY oSayServizi Prompt "Visualizza Tariffe Multiple per "   SIZE 200,18 PIXEL OF oApp():oGrid3
       @ 24,5 COMBOBOX oComboCbx2 VAR  nTariffeshow ITEMS aShowTariffe  ;
           SIZE 200,120 PIXEL OF oApp():oGrid3  ;
       ON CHANGE (FiltraShowTariffe(oApp():oGrid3,oComboCbx2:nat,oTariffeMultipli,oComboCbx1:nat,;
                                     alistini,oComboCbx3:nat,aServizi),;
                     oApp():oGrid3:AEvalWhen(), oComboCbx3:refresh())   ;
                     BITMAPS aSelectBmp

        @ nrow,400 SAY oSayServizi Prompt "Visualizza servizi "  SIZE 100,18 PIXEL OF oApp():oGrid3
        @ nrow,575  COMBOBOX oComboCbx3 VAR nTiposhow ITEMS ArrTranspose( aServizi )[ 2]  ;
            SIZE 220,400 PIXEL OF oApp():oGrid3 UPDATE   BITMAPS aServiziBmp   ;
            ON CHANGE FiltraShowTariffe(oApp():oGrid3,oComboCbx2:nat,oTariffeMultipli,;
                                        oComboCbx1:nat,alistini,oComboCbx3:nat,aServizi)  ;
              WHEN oComboCbx2:nat=4

         return nil
        >
        return nil


note the size of the combos on the script (1) SIZE 200,120 (2) SIZE 220,400 they are not truthful

a solution Please
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: Topbar xbrowse problems
Posted: Sun May 16, 2021 05:31 PM
I corrected the errors in the xbrowses scrollbar by adding refreshes and now it works but the combobox problem still persists.



In ancient times in the old dialog they were large as you can see below,





as soon as I inserted the script in the xbrowse topbars they became smaller
and it does not even depend on the images (png) which have a 72x72 resolution

How I can resolve ?
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: Topbar xbrowse problems -Resolved
Posted: Sun May 16, 2021 10:26 PM

Sorry resolved

with HEIGHTGE

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