Problem with Ribbonbar

Post Reply
User avatar
Silvio.Falconi
Posts: 7164
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 2 times

Problem with Ribbonbar

Post by Silvio.Falconi »

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



        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

@ ::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 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
Post Reply