on tab I not see the text of the name of tab ...why ?

When a 2015 style ?
Code: Select all | Expand
#include "FiveWin.ch"
#include "ribbon.ch"
static oWndMain,oBar
Function test()
DEFINE WINDOW oWndMain
ribbonbar()
ACTIVATE WINDOW oWndMain
return nil
function ribbonbar()
Local aRibbonMenu:={"Contabilità","Inventario","Utilità"}
Local nHeightRib:=130
Local oGr1,oGr2,oGr3,oGr4,oGr5,oGr6,oGr7,oGr8,oGr9
Local nOption:= 1
Local nStart:= 1
Local oHand:= TCursor():New(,'HAND')
oBar=TRibbonBar():New( oWndMain, aRibbonMenu, ,nOption ,;
oWndMain:nWidth, nHeightRib, 26, , , ,;
, , , , , , .T., nStart )
oBar:l2013:= .t.
ADD GROUP oGr1 RIBBON oBar TO OPTION 1 WIDTH 140 PROMPT "Attività esercizi conabili"
ADD GROUP oGr5 RIBBON oBar TO OPTION 2 WIDTH 270 PROMPT "Inventario Beni"
ADD GROUP oGr3 RIBBON oBar TO OPTION 3 WIDTH 240 PROMPT "Configurazione"
oBar:oCursor:= oHand
oBar:nLeftMargin = 10
oBar:CalcPos()
oBar:bRClicked := { || .t. }
RETURN nil
Silvio.Falconi wrote:Cris,
I insert your code
Look ... do you see the name of the first tab ?
Perhaps..but I am not a bionic man
But I used it before with no problem