FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour A problem Ribbonbar-groups and Window min / max
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
A problem Ribbonbar-groups and Window min / max
Posted: Mon Aug 08, 2011 11:52 AM
Hello,

I noticed a Problem with Ribbonbar-groups and Windows min / max
For my Test I used empty Groups and Groups < Window-width.
I think there is no Reason to iconize a Group.
Without Window min / max, all Groups are displayed normal.
Is it possible, to force a group to be displayed in full size ?



I used Ribbon2.prg, changed to 1 Group and sized to Ribbonbar-length.
I got the same Effect.
It seems, there is a difference in Group-Length after using Windows min/max.



Length used in Sample 1 :

DEFINE WINDOW oWnd TITLE "NConvert - Script-editor => Release 1.1 / August 2011" FROM 1,1 to 730,1020 PIXEL ICON oIcon

DEFINE RIBBONBAR oRBar WINDOW oWnd PROMPT "Image-select","Sharpen, Contrast, Lens", "Watermark", "Resize, Rotate","EXPORT", "Crop, Brightn., Alpha","Gray, Mosaic, Swirl, Emboss", "EXIT" ;
...

oRBar:nHeight := 180
oRBar:nHeightFld = 30
oRBar:nLeftMargin = 10
oRBar:hSeparation = 5
oRBar:SetFont( oFont3 )
oRBar:CalcPos()

all Groups are < Window-width !!!

ADD GROUP oGr1 RIBBON oRBar TO OPTION 1 PROMPT "Image-Selection" width 895
oGr1:SetFont( oFont2 )


Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.

Continue the discussion