dbTalk Databases Forums  

access2007 qat ribbon - 'window' group

comp.databases.ms-access comp.databases.ms-access


Discuss access2007 qat ribbon - 'window' group in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Roger
 
Posts: n/a

Default access2007 qat ribbon - 'window' group - 08-30-2010 , 12:58 PM






I've got this xml (see below) that creates a simple ribbon
but I'd like to add the 'window' group (groupWindowAccess)
but loadCustomGUI() gives me this error
group is unexpected according to the content model of parent element
'documentControls'

is this saying the 'group' is not valid for a qat ribbon ?

if I use button instead of group, I can
the specified control type 'button' is incompatible with the actual
control type 'group' ID: groupWindowAccess

is it even possible to have a 'window' group on a qat ribbon ?

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/
customui">
<ribbon startFromScratch="true">

<qat>
<documentControls>
<button idMso="FileSave"/>
<button idMso="Copy"/>
<button idMso="Paste"/>
<button idMso="PrintDialogAccess"/>
<button idMso="PrintPreviewClose"/>
<button idMso="FilterBySelection"/>
<button idMso="ApplyFilter"/>
<button idMso="AdpOutputOperationsSortAscending"/>
<button idMso="AdpOutputOperationsSortDescending"/>
<button idMso="ExportExcel"/>
<button idMso="ExportWord"/>
<group idMso="GroupWindowAccess"></group>
<button idMso="FileExit"/>
</documentControls>
</qat>
</ribbon>
</customUI>

Reply With Quote
  #2  
Old   
Roger
 
Posts: n/a

Default Re: access2007 qat ribbon - 'window' group - 08-31-2010 , 07:01 AM






On Aug 30, 11:58*am, Roger <lesperan... (AT) natpro (DOT) com> wrote:
Quote:
I've got this xml (see below) that creates a simple ribbon
but I'd like to add the 'window' group (groupWindowAccess)
but loadCustomGUI() gives me this error
* group is unexpected according to the content model of parent element
'documentControls'

is this saying the 'group' is not valid for a qat ribbon ?

if I use button instead of group, I can
* the specified control type 'button' is incompatible with the actual
control type 'group' ID: groupWindowAccess

is it even possible to have a 'window' group on a qat ribbon ?

customUI xmlns="http://schemas.microsoft.com/office/2006/01/
customui"
* *<ribbon startFromScratch="true"

* * *<qat
* * * *<documentControls
* * * * * <button idMso="FileSave"/
* * * * * <button idMso="Copy"/
* * * * * <button idMso="Paste"/
* * * * * <button idMso="PrintDialogAccess"/
* * * * * <button idMso="PrintPreviewClose"/
* * * * * <button idMso="FilterBySelection"/
* * * * * <button idMso="ApplyFilter"/
* * * * * <button idMso="AdpOutputOperationsSortAscending"/
* * * * * <button idMso="AdpOutputOperationsSortDescending"/
* * * * * <button idMso="ExportExcel"/
* * * * * <button idMso="ExportWord"/
* * * * * <group *idMso="GroupWindowAccess"></group
* * * * * <button idMso="FileExit"/
* * * *</documentControls
* * *</qat
* *</ribbon
/customUI
it looks like 'documentControls' can only have buttons or controls,
not groups
yet with the full version, I can add a group (groupWindowAccess) to
the QAT using the GUI
for now, all I can do is add the cascade button that is part of the
group
<button idMso="WindowsCascade"/>

but there must be a way to add the group since the access GUI can ???

Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.