Gallery Controls on Quick Access Toolbar

B

bcap

I'm busy creating a Quick Access Toolbar in startFromScratch mode (in A2007,
obviously). Mostly it's simply a matter of adding <button/> elements to the
<documentControls> child of <qat>.

However, this doesn't work for <gallery/> elements, specifically Undo and
Redo. It throws an error indicating that <gallery/> elements are
incompatible with the <documentControls> parent.

I found this specification:

http://msdn.microsoft.com/en-us/library/aa338199.aspx

This confirms that <qat> has only two children, <documentControls> and
<sharedControls>, and that *neither* of them has <gallery/> as a child!

So, how on earth are we supposed to add the Undo and Redo controls to a
custom QAT? It *surely* must be possible, because they are right there on
the built-in QAT ?!?!?!?!

AAAAAARGH!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top