Problem with Ribbonbar

Problem with Ribbonbar

Postby Silvio.Falconi » Fri May 27, 2022 8:06 am

I have a Mdichild with a Ribbonbar and one xbrowse as you can see here :

Image

and If I click on the tab of the ribbonbar, the ribbon does not shrink and becomes white and the xbrowse does not refresh

and the buttons of the first and only tab disappear as you can see here

Image



Building the ribbon

Code: Select all  Expand view


        local aRbPrompts:={"Opzioni"}
        local nAltezzaRibbon:= 140

   ::oRebar := TRibbonBar():New(::oWinTabellone, aRbPrompts,,,,nAltezzaRibbon,30,,,,,,,,,,.T.,)
   ::nBarHeight := ::oRebar:nHeight
   ::oReBar:bLDblClick = { || (iif( ::oReBar:nHeight > 32, ::oReBar:nHeight := 32, ::oReBar:nHeight := nAltezzaRibbon ),;
   ::nBarHeight := ::oRebar:nHeight, ::oLbx:refresh()  ) }

 



the xbrowse

Code: Select all  Expand view
@ ::oRebar:nHeight+2, 0 XBROWSE  ::oLbx OF ::oWinTabellone
      ::oLbx:SetArray(::aTabellone,,,.F.)

....
::oWinTabellone:oClient := ::oLbx
      ::oWinTabellone:oControl := ::oLbx

 


any solution Please ?
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: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Return to FiveWin for Harbour/xHarbour

Who is online

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

cron