Topbar xbrowse problems -Resolved

Topbar xbrowse problems -Resolved

Postby Silvio.Falconi » Sun May 16, 2021 10:34 am

I have two xbrowses with two topbar, on second ( down)

Image

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


Image





this is the function to create the topbar of xbrowse down
Code: Select all  Expand view
 

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
Last edited by Silvio.Falconi on Sun May 16, 2021 10:26 pm, edited 1 time in total.
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: 7053
Joined: Thu Oct 18, 2012 7:17 pm

Re: Topbar xbrowse problems

Postby Silvio.Falconi » Sun May 16, 2021 5:31 pm

I corrected the errors in the xbrowses scrollbar by adding refreshes and now it works but the combobox problem still persists.

Image

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


Image


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 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: 7053
Joined: Thu Oct 18, 2012 7:17 pm

Re: Topbar xbrowse problems -Resolved

Postby Silvio.Falconi » 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 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: 7053
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 96 guests