Skip to content

Instantly share code, notes, and snippets.

@rediffusion
Last active July 30, 2019 12:26
Show Gist options
  • Save rediffusion/9d89a66d0a657209bc6fa10fd486099d to your computer and use it in GitHub Desktop.
Save rediffusion/9d89a66d0a657209bc6fa10fd486099d to your computer and use it in GitHub Desktop.
NOTE: Для »» `DropDown ` и `Gallery` аналогично!
Sub CallbackCBGetItemScreentip(control As IRibbonControl, _
index As Integer, _
ByRef screentip)
Select Case control.ID
Case "myComboBox"
screentip = DLookup("txtName", "tblPictures", _
"txtPicName='" & _
Format(index, "00") & "'")
End Select
End Sub
<comboBox
id="myComboBox"
label="My ComboBox:"
getItemScreentip="CallbackCBGetItemScreentip"
imageMso="PictureEffectsGlowGallery"
onChange="MyComboBoxCallbackOnChange"
sizeString= "WWWWWWWWWWWWW">
</comboBox>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment