Hi,
I use a ribbon with "Office 2007 UI Compatibilty" set to false and in that ribbon I use a PopupGallery.
When I move the mouse over an item in the popup gallery it doesn't highlight that item. Hot tracking doesn't work.
How do I enable hot tracking or how can I do it myself?
I guess I need to implement a handler for GalleryToolActiveItemChange and draw it myself, but how?
Any ideas?
Regards
Michael
Hello Michael,
I have tried to reproduce the issue you’ve got but it seems everything works fine for me. Please see attached zip. From the provided image I also assume that you’re using a style created by your own. I guess that some of the changes made on the style might cause the issue you’ve got. So, could you please send me the style (.isl file) or to modify my sample in order to reproduce the issue you’ve got, so I’ll be able to investigate this on my own.
I am waiting for your feedback.
Hi Atanas,
Thanks for your reply. I checked your sample and it works. When I use my style in your example it doesn't work and I don't know why.
I set a color for the "HotTracked" state in the style but it doesn't show up.
I hope you can help me.
Thans a lot. Regards
Hey Atanas,
it works now with the above mentioned "workaround". But I still don't know why it behaves like this.
Thanks
MIchael
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
Thank you for using Infragistics Components.
This is not a bug. The reason for this strange behavior is the style of the ribbon. If you set the style to ‘Default’ for example you’ll see both the background and the border color. So, something in the style causes the ribbon to behave like this.
I hope that this information will help you.
Please let me know if you have any further questions.
thanks for your help. With the help of your modified style I now found out that it has something to do with the border.
I changed your example so that it doesn't use a resource but a back-color for the Hot_tracked state. Only when you now additionally specify a border color in the hot-tracked state, no matter what color, the back-color is drawn. It doesn't matter what color you use for the border because it is never shown, but you need to specify a border color in order to sow the hot-tracked state. Please see my attached modified example.
This seems to be a bug (?)
Thank you very much for modifying my sample.
What you could do in order to have a hot tracking on the PopupGalleryItem is to add some resource for the HotTracked state of the PopupGalleryItem.
I’ve implemented this suggestion in the sample, and you could run and evaluate it, please see attached zip.