Sie sind hier:   Command - getEnabled

Command - getEnabled

Gibt dem Access Ribbon Control zurück ob es aktiviert ist  

 

Beispiel XML Ribbon Datei: 

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
    <commands>
        <command idMso="Cut" 
                 onAction="CallbackCut"
                 getEnabled="CallbackGetEnabled"/>
        <command idMso="Copy" 
                 onAction="CallbackCopy"/>
    </commands>
</customUI>

Funktion in einem Standardmodul:

Option Compare Database
Option Explicit
  
Public bolEnabled As Boolean
  
Sub CallbackGetEnabled(control As IRibbonControl, _
                       ByRef enabled)
' Callback für Enabled
    enabled = bolEnabled
End Sub




Zurück

 

Letzte Änderungen:

18.03.2021
Neuer Download für Excel hinzugefügt. ...

25.10.2018
Seite "Vertrauenswürdige Speicherorte" - aktualisiert.. ...

22.10.2018
Neuer Download hinzugefügt. ...

08.04.2018
IDBE RibbonCreator 2016 (x86 and x64) für Office 2013 und Office 2016 - Neue Version. ...

 

Letzte Änderung: