You are here: Backstage View - taskFormGroup - getShowLabel
Backstage View - taskFormGroup - getShowLabel
Sets a value that specifies whether to display the control label or not.
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> <taskFormGroup id="tskfrmGrp" label="Label: taskFormGroup" helperText="Helpertext: taskFormGroup" getShowLabel="GetShowLabelTFG"/> </firstColumn> <secondColumn/> </tab> </backstage> </customUI>
Function to be copied to a standard module:
Sub GetShowLabelTFG(control As IRibbonControl, ByRef showLabel) Select Case control.Id Case Else showLabel = False End Select End Sub
You can find this sample in download: BackstageView 1