Backstage View - taskGroup - getHelperText

 

Sets the Helpertext for the control.



Sample Ribbon XML file:

<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>
        <taskGroup id="MytskGroup1" label="Label taskGroup 1. Column" getHelperText="GetHelperTextTG" />
        <group id="myGroup21" label="Label 1. Group" helperText="Style:= normal"  style="normal"/>
        <group id="myGroup22" label="Label 2. Group" helperText="Style:= warning" style="warning"/>
        <group id="myGroup23" label="Label 3. Group" helperText="Style:= error" style="error"/>
      </firstColumn>
      <secondColumn>
        <taskGroup id="MytskGroup2" label="Label taskGroup 2. Column" getHelperText="GetHelperTextTG" />
        <group id="myGroup21" label="Label Group" style="error"/>
      </secondColumn>    
    </tab>
  </backstage>
</customUI>

Function to be copied to a standard module:

Sub GetHelperTextTG(control As IRibbonControl, helperText)
    helperText = "Helpertext: My Text"
End Sub


You can find this sample in download: BackstageView 1




Zurück