ADAdministrator Syncfusion Team June 27, 2002 01:01 PM
The BarItem.Selected event will be fired when a mouse hovers over a toolbar item.
I didn't get the other part: same event fire of another toolbar item?
SHSam HortonJune 27, 2002 01:35 PM
I'm trying to mimic the behavior of the Outlook 2002 toolbar item shown in the attachment. Any suggestions much appreciated!
(I also asked the wrong question -- I see the selected event fire; what event is firing when the button is no longer selected and can I intercept it?)
ADAdministrator Syncfusion Team June 28, 2002 12:07 PM
The ParentBarItem's Tooltip and ImageIndex property should be updated based on the context. The framework will then take care of showing the tooltip and the right image for you.
SHSam HortonJune 28, 2002 08:28 PM
Yes, and it does when changed.
The difference is in behavior. By default if one clicks any part of the button the list drops down; I'm going to write code to change that so that it behaves like the Outlook 2002 control.
ADAdministrator Syncfusion Team July 2, 2002 02:27 PM
Set the ParentBarItem's ParentStyle to ParentBarItemStyle.DropDown.
This will give you the Outlook style behavior.
SHSam HortonJuly 11, 2002 05:08 AM
> Set the ParentBarItem's ParentStyle to ParentBarItemStyle.DropDown.
> This will give you the Outlook style behavior.
Thank you very much, Praveen!! Works great!