Hi
I am trying to create a Ribbon Split Button with the name Animals & the split buttons as Lion, Tiger & Cat.
But, when executing the dll the name for the Split button is reflecting as Lion, instead of Animals.
Here I am pasting the corresponding code as well as attaching the screen shot.
Dim addSpaceButton As RibbonSplitButton = NewRibbonSplitButton()
addSpaceButton.Text =
"Animal"
addSpaceButton.ShowText =
True
addSpaceButton.CommandHandler =
NewAdskCommandHandler()
addSpaceButton.IsSplit =
True
Dim bulkCreateButton As RibbonButton = New RibbonButton()
bulkCreateButton.Text = "Lion"
bulkCreateButton.ShowText =
True
bulkCreateButton.CommandHandler =
New AdskCommandHandler()
Dim autoTraceButton As RibbonButton = New RibbonButton()
autoTraceButton.Text = "Tiger"
autoTraceButton.ShowText =
True
autoTraceButton.CommandHandler =
New AdskCommandHandler()
Dim freeHandButton As RibbonButton = New RibbonButton()
freeHandButton.Text = "Cat"
freeHandButton.ShowText =
True
freeHandButton.CommandHandler =
New AdskCommandHandler()
addSpaceButton.Items.Add(bulkCreateButton)
addSpaceButton.Items.Add(autoTraceButton)
addSpaceButton.Items.Add(freeHandButton)
=======To add the button to the panel=====
addSpaceSourcePanel.Items.Add(addSpaceButton)
Please let me know where I am mistaken.