Hi,
I have two problems -
1. ultraToolBar, ButtonTools that show as Shadow or Shade when mouse over.
2.tDelete.SharedProps.AppearancesSmall.PressedAppearance.Image is not change when i press button.
I would like to make button to be flat and just change image (Appearance, PressedAppearance, HotTrackAppearance) stages.
Dim tDelete As New ButtonTool("mnuDelete")tDelete.SharedProps.Caption = "Delete"tDelete.SharedProps.AppearancesSmall.Appearance.Image = My.Resources.deletetDelete.SharedProps.AppearancesSmall.PressedAppearance.Image = My.Resources.delete_active tDelete.SharedProps.AppearancesSmall.HotTrackAppearance.Image = My.Resources.delete_hover
I would like to know which setting(Properties) i need to change.
Thank you
The shadows are displayed when the UltraToolbarsManager.Style is OfficeXP. If you want to turn off shadows, you will need to use a different Style. As for the different images, I was able to get different images to display based on state the way you were trying to with version 11.1. What version are you using? The only thing I can say is that you will never see the pressed image because when the button is pressed, it is also hot tracked, and the hot tracked image will take precedence if it is set.
Hi Mike,
Yes, I am using NetAdvantage_Ultimate V11.1 and UltraToolbarsManager.Style is OfficeXP.
As for our design, I need toolbar Style is like OfficeXP but need button is flat and change button image when mouse over, click and press.
For the PressedAppearance case,
I use different image in (Appearance,PressedAppearance,HotTrackAppearance)
(Normal) (Mouse Over)
(Mouse Press) Image should be show
But is appear as Mouse Over Image.
If I comment on tNew.SharedProps.AppearancesSmall.HotTrackAppearance.Image line. Mouse Press images is display.
Thank .