Ribbon Bar Sample

This forum is for support of XCodeJock
Post Reply
Message
Author
Andy Edward
Posts: 103
Joined: Fri Sep 17, 2010 2:58 am

Ribbon Bar Sample

#1 Post by Andy Edward »

Hi Roger,

I'm not seeing the icons in Ribbon Bar Sample
Untitled-1.gif
Untitled-1.gif (8.73 KiB) Viewed 21945 times
I've tried:
- Moving the icons outside the icon folder without changing any code.

Code: Select all

CJLoadIcon ".\Icons\App.ico" ID 1 STATE xtpImageNormal PARENT oCommandBars:icons

- Move the Icons to their original folder, and edit CJLoadIcon like so :

Code: Select all

CJLoadIcon "\Icons\App.ico" ID 1 STATE xtpImageNormal PARENT oCommandBars:icons
- and like so:

Code: Select all

CJLoadIcon "..\Icons\App.ico" ID 1 STATE xtpImageNormal PARENT oCommandBars:icons
But no luck in showing the icons. Any ideas?

Best Regards,

Andy

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

Re: Ribbon Bar Sample

#2 Post by rdonnay »

Andy -

I stopped development on XCodeJock several years ago because it became apparent that I was not going to get any support from the CodeJock developers. Also, I was informed by Alaska Software that some CodeJock functions were just not compatible with Xbase++ because the CodeJock product uses many operating system workarounds.

There are eXpress++ users who are using some of the features successfully, but they know that they are on their own.

I have found that I can write many CodeJock capabilities in eXpress++, especially since adding new eXpress++ features over the years.

For example, look at the OutlookBar sample.

I HATE the Ribbon bar stuff, as do many others.
It was impossible to get it to work reliably.

Tomorrow morning, I am leaving on a 3-week motorcycle trip.
I am going to a Navy reunion for the USS Frank E. Evans, then to California and finally to the Xbase++ conference in Phoenix.
I will not be able to address your CodeJock issues until I return in late October.

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

User avatar
Tom
Posts: 1204
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: Ribbon Bar Sample

#3 Post by Tom »

I was using Docking Panes, Task Dialogs, CJ Buttons, Skin Framework and some other controls. None of them worked reliable. It was hard to get them working anyway, even with Roger's help, but I got rid of this stuff since it took tremendous ressources, worked slow and never did exactly what I was expecting. I was able to replace most of it with ownerdrawn controls. I even started working with the Ribbon Bar, which is an interesting approach for the kind of applications I create, and I was working with Michael Rudrich on this, who tried the same (BTW - Where are you, Michael?). It was very unsatisfying, since adding data from the app to the Ribbon Bar or reflecting events from it caused lots of trouble. The only thing I have left are some CJ buttons here and there, but they still react different to the native pushbuttons from Xbase++.

To be honest, I stopped working when CJ 13.6 was the actual version. Maybe it's better now. I also believe, the ActiveX-management of Xbase++ isn't as good as it should be. Maybe this is also better now (since 2.0 is to be released), but I have no information about this.
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
Tom
Posts: 1204
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: Ribbon Bar Sample

#4 Post by Tom »

@Andy: After starting it, the RibbonBar sample doesn't show anything at my place aswell. It starts showing something when the dialog is resized. You may see a small blue area at the top left side. Click it. Maybe, the ribbon shows up.

Another hint: Erase "ToolbarDemo.txt" from the folder where the EXE resides. The sample stores the last configuration there. It I do this, the sample comes up like expected:
Attachments
ribbon.jpg
ribbon.jpg (25.55 KiB) Viewed 21924 times
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

Post Reply