Skip to content

Instantly share code, notes, and snippets.

@rediffusion
Created July 30, 2019 12:05
Show Gist options
  • Save rediffusion/186896b63f25d36c92deda50c4d6059a to your computer and use it in GitHub Desktop.
Save rediffusion/186896b63f25d36c92deda50c4d6059a to your computer and use it in GitHub Desktop.
Sub CallbackDDGetSelectedItemID(control As IRibbonControl, ByRef itemID)
Select Case control.ID
Case "myDropDown"
itemID = "03a"
End Select
End Sub
<dropDown
id="myDropDown"
label="My Dropdown:"
imageMso="PictureEffectsGlowGallery"
getSelectedItemID="CallbackDDGetSelectedItemID"
onAction="CallbackDropDownOnAction"
sizeString= "WWWWWWWWWWWWW">
</dropDown>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment