Hi,
I created in my .dna a customui for a ribbon. I have the follow group:
<group id="grpConfig" tag="GRP_CONFIG" visible="true"
getLabel="rxshared_getLabel">
I have in a
VB.NET class the following function defined:
'============================================================================
Imports ExcelDna.Integration
Imports ExcelDna.Integration.CustomUI
Public Class MyRibbon
Inherits ExcelRibbon
Implements IExcelAddIn
Public Sub rxshared_getLabel(ByVal control As IRibbonControl,
ByRef returnedVal As Object)
'
' Code for getLabel callback. Ribbon control group
'
Dim r_tag
r_tag = control.Tag
If r_tag = "" Then r_tag = control.Id
returnedVal = "Some text " & r_tag
End Sub
End Class
'============================================================================
Somehow the callback function (rxshared_getLabel) is not called. Am I
missing something?
I also want to use getVisible in the future.