Good evening all!
I use the following Ribbon XML code in a UsysRibbon table. I got it from these forums.
I need to remove the (File) menu and also to remove the title that appears at the top of the database (which displays the file name and path).
Thanks in advance
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" onLoad="OnRibbonLoad">
<ribbon startFromScratch="true">
<officeMenu>
<button idMso="FileOpenDatabase" visible="false"/>
<button idMso="FileNewDatabase" visible="false"/>
<splitButton idMso="FileSaveAsMenuAccess" visible="false"/>
</officeMenu>
<tabs>
<tab id="tab1" getLabel="GetLabel" getVisible="GetVisible">
<group id="grp1_1" getLabel="GetLabel">
<button id="btn1_1_1" size="large" getLabel="GetLabel" getScreentip="GetScreentip" imageMso="DatabasePermissionsMenu" onAction="OnActionButton" />
<button id="btn1_1_2" size="large" getLabel="GetLabel" getScreentip="GetScreentip" imageMso="PrintPreviewClose" onAction="OnActionButton" />
</group>
</tab>
<tab id="tab2" getLabel="GetLabel" getVisible="GetVisible">
<group id="grp2_1" getLabel="GetLabel" getVisible="GetVisible">
<labelControl id="lbl2_1_3" getLabel="GetLabel" />
</group>
<group id="grp2_2" getLabel="GetLabel" getVisible="GetVisible">
</group>
<group id="grp2_3" getLabel="GetLabel" >
<button id="btn1_1_3" size="large" getLabel="GetLabel" getScreentip="GetScreentip" imageMso="PrintPreviewClose" onAction="OnActionButton" />
</group>
</tab>
<tab id="tab3" getLabel="GetLabel" getVisible="GetVisible">
<group id="grp3_1" getLabel="GetLabel" getVisible="GetVisible">
<labelControl id="lbl3_1_4" getLabel="GetLabel" />
</group>
<group id="grp3_2" getLabel="GetLabel" getVisible="GetVisible">
</group>
<group id="grp3_3" getLabel="GetLabel" getVisible="GetVisible">
</group>
<group id="grp3_4" getLabel="GetLabel" getVisible="GetVisible">
<button id="btn1_1_4" size="large" getLabel="GetLabel" getScreentip="GetScreentip" imageMso="PrintPreviewClose" onAction="OnActionButton" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>
I use the following Ribbon XML code in a UsysRibbon table. I got it from these forums.
I need to remove the (File) menu and also to remove the title that appears at the top of the database (which displays the file name and path).
Thanks in advance
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" onLoad="OnRibbonLoad">
<ribbon startFromScratch="true">
<officeMenu>
<button idMso="FileOpenDatabase" visible="false"/>
<button idMso="FileNewDatabase" visible="false"/>
<splitButton idMso="FileSaveAsMenuAccess" visible="false"/>
</officeMenu>
<tabs>
<tab id="tab1" getLabel="GetLabel" getVisible="GetVisible">
<group id="grp1_1" getLabel="GetLabel">
<button id="btn1_1_1" size="large" getLabel="GetLabel" getScreentip="GetScreentip" imageMso="DatabasePermissionsMenu" onAction="OnActionButton" />
<button id="btn1_1_2" size="large" getLabel="GetLabel" getScreentip="GetScreentip" imageMso="PrintPreviewClose" onAction="OnActionButton" />
</group>
</tab>
<tab id="tab2" getLabel="GetLabel" getVisible="GetVisible">
<group id="grp2_1" getLabel="GetLabel" getVisible="GetVisible">
<labelControl id="lbl2_1_3" getLabel="GetLabel" />
</group>
<group id="grp2_2" getLabel="GetLabel" getVisible="GetVisible">
</group>
<group id="grp2_3" getLabel="GetLabel" >
<button id="btn1_1_3" size="large" getLabel="GetLabel" getScreentip="GetScreentip" imageMso="PrintPreviewClose" onAction="OnActionButton" />
</group>
</tab>
<tab id="tab3" getLabel="GetLabel" getVisible="GetVisible">
<group id="grp3_1" getLabel="GetLabel" getVisible="GetVisible">
<labelControl id="lbl3_1_4" getLabel="GetLabel" />
</group>
<group id="grp3_2" getLabel="GetLabel" getVisible="GetVisible">
</group>
<group id="grp3_3" getLabel="GetLabel" getVisible="GetVisible">
</group>
<group id="grp3_4" getLabel="GetLabel" getVisible="GetVisible">
<button id="btn1_1_4" size="large" getLabel="GetLabel" getScreentip="GetScreentip" imageMso="PrintPreviewClose" onAction="OnActionButton" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>