UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
 
   Reply to this topicStart new topic
> Customize Backstage, Access 2016    
 
   
mylton
post Aug 12 2019, 08:45 AM
Post#1



Posts: 50
Joined: 13-June 16



Good Morning.
Studying programming I checked on the IDBE RIbbon website the existence of this coding below:

<!-- *** BACKSTAGE ***-->
<backstage>
<tab id="tbb1" label="Área Personalizada" title="Caixas de textos e botões em layout de colunas">
<firstColumn>
<group id = "grb1" label = "Colunas, usando caixas de textos"
helperText = "Layout exemplo com uma coluna e com duas colunas.">
<topItems>
<layoutContainer id="lay1" layoutChildren="vertical">
<editBox id="ebxb1" expand="horizontal" label="Título 1"/>
<layoutContainer id="lay2" layoutChildren="horizontal">
<editBox id="ebxb2" expand="horizontal" label="Título 2"/>
<editBox id="ebxb3" expand="horizontal" label="Título 3"/>
</layoutContainer>
</layoutContainer>
</topItems>
</group>
<group id = "grb2" label = "Colunas, usando botões"
helperText = "Layout exemplo com uma coluna e com duas colunas.">
<topItems>
<layoutContainer id="lay3" layoutChildren="vertical">
<button id="btb1" label="Botão" expand="horizontal"/>
<layoutContainer id="lay4" layoutChildren="horizontal">
<button id="btb2" label="Botão" expand="horizontal"/>
<button id="btb3" label="Botão" expand="horizontal"/>
</layoutContainer>
</layoutContainer>
</topItems>
</group>
</firstColumn>
</tab>
</backstage>



I would like it to be embedded in this XML


<!-- Created with IDBE RibbonCreator 2016 (Version: 1.1006c) -->
<!-- http://www.RibbonCreator2016.de -->

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="OnRibbonLoad" loadImage="LoadImages">
<commands>
<command idMso="Help" enabled="false"/>
<command idMso="WindowClose" enabled="false"/>
<command idMso="WindowRestore" enabled="false"/>
<command idMso="WindowMinimize" enabled="false"/>
</commands>

<ribbon startFromScratch="true">
<tabs>
<tab id="tab0" label="Sistema" getVisible ="GetVisible" tag = "RibbonName:=SysFon;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=" >
<group id="grp0" autoScale="false" centerVertically="false" label="Informações Empresa" getVisible ="GetVisible" tag = "RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=
;CustomPicture:=;CustomPicturePath:=" >
<button id="BtCadastrarDados" size="large" label="Cadastrar dados" imageMso="DigitallySignMessage" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
</group>
<group id="grp1" autoScale="false" centerVertically="false" label="Informações PC" getVisible ="GetVisible" tag = "RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=
;CustomPicture:=;CustomPicturePath:=" >
<button id="BtInformar" size="large" label="Info" imageMso="UseAccountOnAnotherComputer" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
</group>
<group id="grp2" autoScale="false" centerVertically="false" label="Registrar Software" getVisible ="GetVisible" tag = "RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=
;CustomPicture:=;CustomPicturePath:=" >
<button id="BtRegistrar" size="large" label="Registrar" imageMso="InsertActionGallery" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
</group>
<group id="grp3" autoScale="false" centerVertically="false" label="Desenvolvedor" getVisible ="GetVisible" tag = "RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=
;CustomPicture:=;CustomPicturePath:=" >
<button id="BtDesenvolvedor" size="large" label="Info" imageMso="Info" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
</group>
<group id="grp4" autoScale="false" centerVertically="false" label="Informações PC" getVisible ="GetVisible" tag = "RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=
;CustomPicture:=;CustomPicturePath:=" >
<button id="BtInformacoesPC" size="large" label="PC" imageMso="ChangeToDeclineInvitation" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
</group>
</tab>
<tab id="tab1" label="Manutenção Software" getVisible ="GetVisible" tag = "RibbonName:=SysFon;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=" >
<group id="grp5" autoScale="false" centerVertically="false" label="Logoff" getVisible ="GetVisible" tag = "RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=
;CustomPicture:=;CustomPicturePath:=" >
<button id="BtLogoff" size="large" label="Logoff" imageMso="AddGroup" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
</group>
<group id="grp6" autoScale="false" centerVertically="false" label="Configurar Software" getVisible ="GetVisible" tag = "RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=
;CustomPicture:=;CustomPicturePath:=" >
<button id="BtConfigurar" size="normal" label="Cadast.Usuário" imageMso="ContactPictureMenu" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtPermissao" size="normal" label="Perm.Usuário" imageMso="AccessOnlineLists" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
</group>
<group id="grp7" autoScale="false" centerVertically="false" label="Manutenção" getVisible ="GetVisible" tag = "RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=
;CustomPicture:=;CustomPicturePath:=" >
<button id="BtBackup" size="normal" label="Backup" imageMso="BackupSite" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtCompactar" size="normal" label="Compactar" imageMso="FileCompactAndRepairDatabase" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtExportar" size="normal" label="Exportar dados" imageMso="ImportExport" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
</group>
</tab>
<tab id="tab2" label="Cadastro Geral" getVisible ="GetVisible" tag = "RibbonName:=SysFon;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=" >
<group id="grp8" autoScale="false" centerVertically="false" label="Processo" getVisible ="GetVisible" tag = "RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=
;CustomPicture:=;CustomPicturePath:=" >
<button id="BtClientes" size="large" label="Clientes" imageMso="AddUserToPermissionGroup" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<separator id="sep27" getVisible="GetVisible" />
<button id="AndamProcessual" size="normal" label="Andam.Processual" imageMso="AssignTask" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtStatus" size="normal" label="Status" imageMso="ControlTitle" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtComarca" size="normal" label="Comarca" imageMso="ControlTitle" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtTipoAcao" size="normal" label="Tp.Ação" imageMso="ControlTitle" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtClasseAcao" size="normal" label="Cl.Ação" imageMso="ControlTitle" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
</group>
<group id="grp9" autoScale="false" centerVertically="false" label="Financeiro" getVisible ="GetVisible" tag = "RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=
;CustomPicture:=;CustomPicturePath:=" >
<button id="BtNomeBanco" size="normal" label="Nome Banco" imageMso="CheckNames" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtTipoDespesa" size="normal" label="Tp.Despesa" imageMso="ControlTitle" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtDespesa" size="normal" label="Despesa" imageMso="ControlTitle" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
</group>
<group id="grp10" autoScale="false" centerVertically="false" label="Instalações Empresa" getVisible ="GetVisible" tag = "RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=
;CustomPicture:=;CustomPicturePath:=" >
<button id="BtGalpao" size="normal" label="Galpão" imageMso="CheckNames" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtPonte" size="normal" label="Ponte" imageMso="ControlTitle" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtPiso" size="normal" label="Piso" imageMso="ControlTitle" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtVentilacao" size="normal" label="Ventilação" imageMso="CheckNames" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtIluminacao" size="normal" label="Iluminação" imageMso="ControlTitle" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtProporcionada" size="normal" label="Proporcionada" imageMso="ControlTitle" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtComplementada" size="normal" label="Complementada" imageMso="CheckNames" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
</group>
<group id="grp11" autoScale="false" centerVertically="false" label="SESMT" getVisible ="GetVisible" tag = "RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=
;CustomPicture:=;CustomPicturePath:=" >
<button id="BtRiscoOcupacional" size="normal" label="Risco Ocupacional" imageMso="CheckNames" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtEpi" size="normal" label="EPI" imageMso="ControlTitle" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtEpc" size="normal" label="EPC" imageMso="ControlTitle" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
</group>
<group id="grp12" autoScale="false" centerVertically="false" label="Farmacologia" getVisible ="GetVisible" tag = "RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=
;CustomPicture:=;CustomPicturePath:=" >
<button id="BtAtivo" size="normal" label="Princ.Ativo" imageMso="CheckNames" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtLaboratorio" size="normal" label="Laboratório" imageMso="ControlTitle" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtAgFarmacologico" size="normal" label="Ag.Farmacológico" imageMso="ControlTitle" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="BtClTerapeutica" size="normal" label="Cl.Terapêutica" imageMso="CheckNames" tag="RibbonName:=SysFon;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagVa
lue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
</group>
</tab>
</tabs>
</ribbon>

<backstage>
<button idMso="FileCloseDatabase" visible="true"/>
<button idMso="FileSave" visible="false"/>
<tab idMso="TabInfo" visible="false"/>
<tab idMso="TabOfficeStart" visible="false"/>
<tab idMso="TabOfficeFeedback" visible="false"/>
<tab idMso="TabRecent" visible="false"/>
<tab idMso="TabSave" visible="false"/>
<tab idMso="TabRecent" visible="false"/>
<tab idMso="TabSave" visible="false"/>
<tab idMso="TabPrint" visible="false"/>
<tab idMso="TabHelp" visible="false"/>
<button idMso="ApplicationOptionsDialog" visible="false"/>
<button id="BtTeste" label="Teste" onAction="=RibbonAction('frmInfo')"/>
<button id="BtSorriso" label="Sorriso" onAction="=RibbonAction('frmInfo1')"/>
</backstage>
</customUI>




I would like it to be embedded in this XML

so that you could in the backstage area verify its correct operation.
What would be the best way?

Database attached


Thank you.





Attached File(s)
Attached File  Ribbon.zip ( 25.43K )Number of downloads: 9
 
Go to the top of the page
 


Custom Search


RSSSearch   Top   Lo-Fi    11th December 2019 - 11:22 AM