Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

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