Print Page | Close Window

RibbonBar question

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=4146
Printed Date: 21 June 2025 at 6:03am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: RibbonBar question
Posted By: moe188
Subject: RibbonBar question
Date Posted: 05 May 2006 at 7:45pm

Hi,

I am trying to learn how to use the ribbonbar control, but I do have couple questions:

1/ how can I be able to tell what tab on the ribbonbar was clicked?

2/ how can I be able to show large or small icons inside the ribbonbar using the standard imagelist constrol?

3/ can you add a textbox or combobox inside a ribbonbar?

a sample will be good to usnderstand better, please HELP!!!

Thank you,

Sample of what I am looking for




Replies:
Posted By: apuhjee
Date Posted: 07 May 2006 at 10:17am
What language are you developing in? 10.1 comes with a RibbonBar sample in VB6 (which is apparently Codejock's language of choice for us non-MFC people... )

jp

-------------
I like mathematics because it is not human and has nothing particular
to do with this planet or with the whole accidental universe — because,
like Spinoza's God, it won't love us in return.


Posted By: moe188
Date Posted: 07 May 2006 at 8:46pm

okay let me try to explain what I am looking for:

1/ I am using VB6

2/ using the sample above, if  I click tab "Page Layout", I want to get a message telling me that I clicked "Page Layout", samething for each tab above.

3/ how can I have the small icon "Save" and the rest of icons right by the ribbontab? (just icons and no caption)

4/ How can I have a large icon "New PivotTable" and the rest of large icon inside of ribbongroup?

Note: I want to use the standard imagelist control.

Thank you,



Posted By: apuhjee
Date Posted: 08 May 2006 at 6:39pm
Originally posted by moe188 moe188 wrote:

1/ I am using VB6

Can't help you there, I refuse to use languages that are not truely object-oriented.

Originally posted by moe188 moe188 wrote:

2/ using the sample above, if  I click tab "Page Layout", I want to get a message telling me that I clicked "Page Layout", samething for each tab above.

Can't find this anywhere either. Others are looking for it as well - so we'll probably see it next release.

An aside: I find the event model of CommandBars extremely obtuse. All events being filtered through the CommandBar control makes code confusing, but maybe I just haven't found the proper way to deal with this yet...

Originally posted by moe188 moe188 wrote:

3/ how can I have the small icon "Save" and the rest of icons right by the ribbontab? (just icons and no caption)

I was able to add a simple button to the command bar (i.e. the 16x16 disc used for 'save' feature) but it appeared in the same visual space as the 'file' menu item, not with the other tabs like you are wishing to do. Maybe we'll see that ability down the road.

Originally posted by moe188 moe188 wrote:

4/ How can I have a large icon "New PivotTable" and the rest of large icon inside of ribbongroup?

Haven't tried this yet... maybe soon.

Cheers ~ jp



-------------
I like mathematics because it is not human and has nothing particular
to do with this planet or with the whole accidental universe — because,
like Spinoza's God, it won't love us in return.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net