Skip to content

Instantly share code, notes, and snippets.

@rediffusion
Last active July 30, 2019 13:08
Show Gist options
  • Select an option

  • Save rediffusion/c09733956ab092830ca93e2e49a8bec8 to your computer and use it in GitHub Desktop.

Select an option

Save rediffusion/c09733956ab092830ca93e2e49a8bec8 to your computer and use it in GitHub Desktop.
NOTE: Для »» `Menu` и `Dynamic Menu` подходит тоже!
Sub MyButtonCallbackShowLabel(control As IRibbonControl, ByRef showLabel)
Select Case control.ID
Case "MyBtn1"
showLabel = False
End Select
End Sub
<button
id="MyBtn1"
label="Button 1"
imageMso="BevelShapeGallery"
onAction="MyButtonCallbackOnAction"
getShowLabel="MyButtonCallbackShowLabel"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment