RibbonBar with the new 18.3.0
Hi,
Is anyone having any display issues with the CJ Ribbon on 19.1?
I have been trying to have the class that I use, which I believe is one by Nils from the Quiz Master and when I was not successful I tried the Demo on the Sig CJ library. I did enable the Ribbon on the src and the same display problems are shown.
[CODE]
//Include the desired CommandBarSystem (Style)
#Include oCommandBarSystem_Ribbon.pkg
//#Include oCommandBarSystem_Standard.pkg
[/CODE]
I have tried this in my desktop and on my laptop... and the same happens. I am using RC1
Thank you!
Oscar Mintegui
Re: RibbonBar with the new 18.3.0
Hi Oscar
What is the display issue?
Is it black? If so there are several posts about that with answers, search ‘codejock ribbon black’
Cheers
Marco
1 Attachment(s)
Re: RibbonBar with the new 18.3.0
I have made a small modification to [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]oCommandBarSystem_Ribbon.pkg. This avoids the black and unusable ribbonbar.
At the moment I have two issues.
1. I don't want to use skinning anymore. In that case the caption bar of views look awful. (This is a Microsoft thing). At the moment I am using [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]"Windows8.cjstyles" with "NormalAero.ini"
2. For some reason vertical dividing lines in the ribbonbar are missing. See attached image. I don't have a solution yet.[/FONT][/FONT]
[CODE]
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Object oCommandBarSystem is a cSigCJRibbonBar
Set pbTimerUpdate to True
Procedure OnCreateCommandBars
Forward Send OnCreateCommandBars
Set peVisualTheme to xtpThemeOffice2016Outlook
End_Procedure[/FONT]
[/CODE]
[ATTACH=CONFIG]12693[/ATTACH]
2 Attachment(s)
Re: RibbonBar with the new 18.3.0
Marco and Peter,
The issue is that is black on the Sig demo, but what I am experiencing is different... I have tried different .cjstyles file, .ini and .dll combinations and nothing gets the icons to display correctly. (see attached images)
15.1.3 [ATTACH=CONFIG]12694[/ATTACH]
18.3.0 [ATTACH=CONFIG]12695[/ATTACH]
Thank you!
Oscar
Re: RibbonBar with the new 18.3.0
it's the bitamap. There is something about those icon files that the new CJ ribbon does not like. Try different icons, perhaps use the :multi-size: icon that identifies what resolution is being drawn. (all.ico) in the DF\bitmaps folder.
Re: RibbonBar with the new 18.3.0
Oscar
First ensure you are not using skins.
The Ribbon Style comes from the Codejock DLL Files which you must match to the codejock version.
The cjstyle files should not affect the style within the ribbon. I know that sounds illogical.
Then search the forums for the codejock fix.
It is also mentioned in the codejock forums
It is easier to use the sig group ribbon stuff rather than the original stuff I did that may be lurking around still.
It is more upward compatible, even though it is missing some features you will probably not use.
Re: RibbonBar with the new 18.3.0
Hi Oscar,
Do all your .ico files have multiple sizes? Else that might be the culprit.
Re: RibbonBar with the new 18.3.0
Michael,
I think they are all multi-size, but might be wrong... i'll check them by the end of the week... or weekend...
Thanks,
Oscar
Re: RibbonBar with the new 18.3.0
Hi Russell,
I thought about doing just that... but will need to analyze how much code needs changing. I do use skins also, yo said that the ribbon does not get affected by the skin... how about the command bars (toolbars)?
Regards,
Oscar
Re: RibbonBar with the new 18.3.0
Yes... so I changed the icons to SVG icons (well at least a couple by now) and they get drawn correctly.
I was not able to get the Office2016 type of ribbon working using the DAW's CJ classes... the change to cSigCJxxx classes seems very invoived based on a small test I did. it is not a swapt classes case, lots of code change will be needed. Looks like I will be limiting the program to one skin from now on, I had three for the user to choose from, but it is not working as it used to anymore.
Thank you all for the help.
Regards,
Oscar