Ribbon, Backstage, getVisible
Hi,
I'm trying to make my first fully working ribbon, but has come across a
problem.
I have the following XML for setting the backstage controls:
<backstage
<button idMso="FileSave"
getVisible="BackStage_GetVisible"/
<button idMso="FileSaveAs"
getVisible="BackStage_GetVisible"/
<button idMso="FileOpen"
getVisible="BackStage_GetVisible"/
<button idMso="FileClose"
getVisible="BackStage_GetVisible"/
<button idMso="ApplicationOptionsDialog"
getVisible="BackStage_GetVisible"/
<button idMso="FileExit"
getVisible="BackStage_GetVisible"/
<tab idMso="TabInfo"
getVisible="BackStage_GetVisible"/
<tab idMso="TabRecent"
getVisible="BackStage_GetVisible"/
<tab idMso="TabNew"
getVisible="BackStage_GetVisible"/
<tab idMso="TabPrint"
getVisible="BackStage_GetVisible"/
<tab idMso="TabShare"
getVisible="BackStage_GetVisible"/
<tab idMso="TabHelp"
getVisible="BackStage_GetVisible"/
<tab idMso="TabPublish"
getVisible="BackStage_GetVisible"/
<tab idMso="TabSave"
getVisible="BackStage_GetVisible"/
<tab idMso="TabOfficeStart"
getVisible="BackStage_GetVisible"/
</backstage
But it is as if the getVisible sub doesn't get executed?!?
All my other <Tab and <Button that uses 'getVisible' works fine, but for
some reason not the ones in 'BackStage'.
Any suggestions?
CE
|