Hii
I am Using UltraToolbarmanager and using its AfterRibbontabselected event to show an image on ribbon bar
If I Click on Individual Tab say Ribbon1,Ribbon2 etc I am getting exact tab key name in AfterRibbontabselected event.
But if i scroll mouse wheel on ribbon I am getting Oldvalue for following
UltraToolbarsManager1.Ribbon.SelectedTab.Key =
"ribbon2"
here i am moving from ribbon1 to ribbon2 but in AfterRibbontabselected event i am getting current
tab key as ribbon1 insted of ribbon2 .
How to catch current value or new value for selected tab.
Note This happens only when we change ribbon tab via scrolling mouse wheel
rhealsoftTakeoff,
What version of NetAdvantage for Windows Forms are you using? I tried reproducing this in 9.1 build 1000 but was unable to do so; I have attached the sample I created while testing. The sample writes to the Output window when a different RibbonTab is selected, and when running the correct Tab key is written to the Output window when scrolling with the mouse wheel.
~Kim~
Hi i am using version 8.3.20083.2021 of ultratoolbar.
If possible please send the sample code in vb.net.
I tested in 8.3.20083.2021 but was still unable to reproduce the issue. I have attached a sample in VB. Please let me know if there is a difference in the code I am using and the code you are using.
Thanks for reply.
Actually it was using ulToolBarManager.Ribbon.SelectedTab.Key="ribbon1" in afterribbontabselected event thats why it was geting wrong.
e.tab.key gets correct value