I hate Ribbonbars

This forum is for support of XCodeJock
Post Reply
Message
Author
User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

I hate Ribbonbars

#1 Post by rdonnay »

I am going on record as saying that I hate Ribbonbars for a lot of reasons:
It's not Commandbars that I have a problem with, it's the Ribbonbar control of the commandbar.

1. They are unreliable. I get lockups all the time.
2. They are hideous. This is one of the reasons I never upgraded to Microsoft Office 2007.
3. They are difficult to use and program.

I will continue to support all other controls of the Commandbars class, but I am going to limit the amount of time I am going to waste with Ribbonbars - unless someone gives me some ideas that are workable. I have run out of ideas and the amount of time I am going to spend on this.

I recommend using CJMenubar, CJTabbedToolbar and CJToolbar, but not CJRibbonBar.
The eXpress train is coming - and it has more cars.

Wolfgang Ciriack
Posts: 478
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: I hate Ribbonbars

#2 Post by Wolfgang Ciriack »

Hi Roger,
i hope, that your frustation is gone a little bit.

I have changed one line in your method ResizeDrawingArea of the Class CJ_CommandBars and that seems to work fine for me and with your sample of the tabbed toolbar.

Code: Select all

aPos := {::left,oDrawingArea:CurrentSize()[2] +::top -::bottom}
But i have a CJToolbar in my sample which i want to have always a xsize of 300 pixel.
In the same method you resize the childlist and there the resizeonly_y is not regarded.
But there fails my programming knowledge. Can you please have a look at it ?
My sample is attached.
Attachments
test2.zip
(4.17 KiB) Downloaded 865 times
_______________________
Best Regards
Wolfgang

Wolfgang Ciriack
Posts: 478
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: I hate Ribbonbars

#3 Post by Wolfgang Ciriack »

Hi Roger,
can you please have a look at my last message ?
_______________________
Best Regards
Wolfgang

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: I hate Ribbonbars

#4 Post by rdonnay »

Wolfgang -

Your fix worked very well. THANK YOU!! :clap:
It certainly solved the drawingarea problem.
I don't know how I missed that.
However, I still am concerned about the reliability of the ribbonbars especially after a resizing.
Have you had any lockup problems?
I find that when the lockup occurs, I can release the lockup by pressing the Alt key.
So far, I have not seen any lockups with your sample program.

I will look into the CJtoolbar issue today.

Roger
The eXpress train is coming - and it has more cars.

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: I hate Ribbonbars

#5 Post by rdonnay »

I don't see any CJToolbar in your sample. I need more information.

I do like your sample however, and I am spending some time with it to change some of your code to use CJ* commands.
I see some problems in some of the commands and am fixing them and will give you an update.

This would make another good Ribbonbar sample program to include in the ..\Xcodejock\Samples\Commandbars directory.
Would that be ok with you?

Also, do you have the resource file that you used for your icons?
The eXpress train is coming - and it has more cars.

Wolfgang Ciriack
Posts: 478
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: I hate Ribbonbars

#6 Post by Wolfgang Ciriack »

Hi Roger,

fine that this fix works.

Toolbar: Sorry, i meant the taskpanel, which i want to have always the same horizontal size.

I will include some icons in the example and send an update with ressourse file to you, that you can put it in the XCodeJock examples.

With this example i had no lockups, but i have seen them as well with my app.
_______________________
Best Regards
Wolfgang

skiman
Posts: 1183
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: I hate Ribbonbars

#7 Post by skiman »

Hi Roger,

In my testing the ribbonbar is working without locking. I will start to implement it in my application next week.

I modified the resizedrawingarea according to the tip of Wolfgang. I see that there is still a problem when minimizing the ribbonbar, and afterwards showing it again. I suppose there is still a little issue to fix. But maybe you already did this when you was working on the sample of Wolfgang.

If you have a modified xjclass.prg, i could test with it next week.

Regards,
Best regards,

Chris.
www.aboservice.be

Post Reply