FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ribbonbar high
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
ribbonbar high
Posted: Thu Sep 17, 2015 07:45 PM
Hello,
I am still working on the “Metro like” release.
Although I made some changes in usability. I do not use full screen obligatory as I planed when I started.

It seems to me that the ribbonbar consumes to much space. How can I reduce high.
Best regard,
Otto





Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: ribbonbar high
Posted: Thu Sep 17, 2015 10:59 PM
Otto, try with clausule nHeight ?
As always, his designs are great

Code (fw): Select all Collapse
#xcommand DEFINE RIBBONBAR [ <oRBar> ] ;
                           [ <of:OF, WINDOW> <oWnd> ] ;
                           [ <prm: PROMPT, PROMPTS, ITEMS> <cPrompt,...> ] ;
                           [ <act: ACTION, EXECUTE, ON CHANGE> <uAction> ] ;
                           [ OPTION <nOption> ] ;

                           [ HEIGHT <nHeight> ] ;

                           [ TOPMARGIN <nTopMargin> ];
                           [ COLOR <nClrPane> ] ;
                           [ <ColorBox: COLORBOX> <nClrBoxOut>,<nClrBoxIn> ] ;
                           [ <ColorSel: COLORSEL> <nClrBoxSelOut>,<nClrBoxSelIn> ] ;
                           [ <l2010: 2010, _2010> ];
                           [ <l2013: 2013, _2013> ];
                           [ STARTBTN <nStart> ];
       => ;
          [<oRBar> := ] TRibbonBar():New( <oWnd>, [\{<cPrompt>\}], [{|nOption,nOldOption|<uAction>}], ;
             <nOption>, , <nHeight>, <nTopMargin>, <nClrPane>, <nClrBoxOut>, <nClrBoxIn>, <nClrBoxSelOut>, ;
             <nClrBoxSelIn>, , , , , <.l2010.>, <nStart>, <.l2013.> )
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: ribbonbar high
Posted: Thu Sep 17, 2015 11:25 PM

Hello Cristobal,
Thank you and thank you for your kind words.
Now it is working. I have to set HEIGHT and TOPMARGIN.
Best regards,
Otto

Continue the discussion