PC Review


Reply
Thread Tools Rate Thread

Creating gallery in dynamic menu

 
 
Josh Sale
Guest
Posts: n/a
 
      29th Apr 2008
I'm trying to create a dynamic gallery control within a dynamic menu item in
my XL2007 ribbon tab. What I'm trying to create is something that looks
like Excel's Format as Table or Cell Styles controls on the Home tab. That
is, when the control is activated I want a menu with separators and then I
want a single gallery control within following each separator that shows the
gallery images.

In my experimentation the closest I can get to this is something that looks
like the Conditional Formatting control. That is menu separators with menu
entries that then expand to the gallery.

I can get the desired appearance in my menu if I substitute button controls
for the gallery items ... but button controls don't give me the
functionality I want. In particular I want decent size images that I can
control using the itemHeight and itemWidth attributes.

The way I'm doing this is I've added a single dynamicMenu control to my
custom tab that has a getContent that points to a routine that I've written
to generate the XML.

This routine generates:

- The schema header.
- A menu separator
- A gallery control which itself is defined using getItemCount, getItemID,
etc.
- The needed XML closure tags.

The middle two steps are repeated as necessary based on external data.

I've tried generating the gallery control with and without a Label attribute
thinking the lack of a label or a top level image might cause the generated
ribbon entries to be pulled inline to the menu but no joy.

Anybody got any suggestions?

TIA,

josh


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a dynamic menu asp.net2!!HELP!!!! Sri Reddy Microsoft ASP .NET 4 3rd May 2006 01:31 PM
(NEW !!!) Kate HTML Gallery - Freeware for gallery creating DCK Freeware 4 21st Oct 2004 04:29 PM
Re: Dynamic Photo Gallery E. T. Culling Microsoft Frontpage 0 21st Sep 2004 10:32 PM
Dynamic Photo Gallery =?Utf-8?B?U2FtIEIu?= Microsoft Frontpage 0 21st Sep 2004 08:07 PM
Creating Dynamic Menu Items Stuart Ferguson Microsoft Dot NET 1 4th Jul 2004 12:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:51 PM.