Results 1 to 10 of 10

Thread: RibbonBar with the new 18.3.0

  1. #1

    Default 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
    I have tried this in my desktop and on my laptop... and the same happens. I am using RC1




    Thank you!
    Oscar Mintegui

  2. #2
    Join Date
    Feb 2009
    Location
    Adelaide, South Australia
    Posts
    2,863

    Default 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
    Marco Kuipers
    DataFlex Consultant
    28 IT Pty Ltd - DataFlex Specialist Consultancy
    DataFlex Channel Partner for Australia and Pacific region
    Adelaide, South Australia
    www.28it.com.au

  3. #3
    Join Date
    Feb 2009
    Location
    Maasland, The Netherlands
    Posts
    2,605

    Default Re: RibbonBar with the new 18.3.0

    I have made a small modification to 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 "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.


    Code:
    Object oCommandBarSystem is a cSigCJRibbonBar 
        Set pbTimerUpdate to True
        
        Procedure OnCreateCommandBars
            Forward Send OnCreateCommandBars
            
            Set peVisualTheme to xtpThemeOffice2016Outlook
        End_Procedure

    Click image for larger version. 

Name:	VDFSIG 19.1.png 
Views:	199 
Size:	84.2 KB 
ID:	12693
    Best regards,

    Peter van Mil
    Appvantage b.v.

  4. #4

    Default 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 Click image for larger version. 

Name:	Ribbon CJ 15.1.3.png 
Views:	184 
Size:	76.7 KB 
ID:	12694
    18.3.0 Click image for larger version. 

Name:	RIbbon CJ 18.3.0.png 
Views:	183 
Size:	58.1 KB 
ID:	12695

    Thank you!
    Oscar

  5. #5
    Join Date
    Feb 2009
    Location
    Queens, NY, NY
    Posts
    7,429

    Default 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.
    Michael Mullan.
    Danes Bridge Enterprises.

    ++++++++++++++++++++++++++++
    There is just today. Tomorrow is a concept
    that is mostly theoretical. -- GM Wylie
    ++++++++++++++++++++++++++++

  6. #6
    Join Date
    Feb 2009
    Location
    Dunedin, New Zealand
    Posts
    533

    Default 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.

  7. #7
    Join Date
    Feb 2009
    Location
    Goteborg, Sweden
    Posts
    3,189

    Default Re: RibbonBar with the new 18.3.0

    Hi Oscar,

    Do all your .ico files have multiple sizes? Else that might be the culprit.
    Nils Svedmyr
    RDC Tools International
    www.rdctools.com

    "The problem with internet quotes is that you don't know if they are true."
    Abraham Lincoln

  8. #8

    Default 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

  9. #9

    Default 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

  10. #10

    Default 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •