Callback calls / Tags


Callback calls / Tags

At this point you may set an other callback for a chosen Ribbon XML control.

You may also assign upto three customized tag values for most of the ribbon elements. These values can be read with VBA as follows:

i.e.: For a ribbon Button:

Sub OnActionButton(control As IRibbonControl)

Dim varVar1 As String
Dim varVar2 As String
Dim varVar3 As String

varVar1 = getTheValue(control.Tag, "CustomTagValue1")
varVar2 = getTheValue(control.Tag, "CustomTagValue2")
varVar3 = getTheValue(control.Tag, "CustomTagValue3")

'....

End Sub


Using the button "Set Default Values" the default callbacks will be restored. These data will be read from settings on: Options / Default Callback calls

Using the button "OK" will save the entered values for the control.


See also:
Default Callback calls

  Last Updated: 03.03.2010 | © 2007-2009 IDBE Avenius,