Backstage View - taskFormGroup - getShowLabel

 

Der Callback liefert zurück ob ein Label angezeigt werden soll. 

 

 


Beispiel XML Ribbon Datei:

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
   <ribbon startFromScratch="false">
       <!-- Ribbon XML -->
   </ribbon>
  <backstage>
    <tab  id="btab1" label="Label 1. Tab">
      <firstColumn>
        <taskFormGroup id="tskfrmGrp" label="Label: taskFormGroup" helperText="Helpertext: taskFormGroup" getShowLabel="GetShowLabelTFG"/>
      </firstColumn>
      <secondColumn/>
    </tab>
  </backstage>
</customUI>

Funktion in einem Standardmodul:

Sub GetShowLabelTFG(control As IRibbonControl, ByRef showLabel)
    Select Case control.Id
        Case Else
            showLabel = False
    End Select
End Sub


 




Sie finden dieses Beispiel auch in der Beispieldatenbank "Backstage View 1".

 




Zurück