Hi,
I have a ControlContainer on a toolbar and set it's DisplayStyle to TextAlways so the Caption is displayed to the left of the tool. I add a control to the form and assign it to the tool, e.g. an UltraCalendarCombo or an UltraTextEditor. I then add a button to the form just so that we can make the toolbar lose focus by clicking on the button.
When I click in the editor, the tool label text background gets highlighted (in orange as I'm using the Office2007 theme), which while that is unusual I could live with if it was just while the control had focus or was in edit mode.
However if you then click on the button the tool text remains highlighted and I can't figure out how to force it to restore the appearance back to normality.
I guess I can use a separate label tool instead of using the Caption, though it seems a shame to have to create lots of label tools when the functionality is provided through the Caption.
I can provide a simple project if it helps.
Further information, If I add a second ContainerControl with a caption to the toolbar, toggling the input focus between the two controls changes which label is highlighted so it looks like it is highlighting the active tool. However when the toolbar loses focus the highlight remains. I tried setting the IsActiveTool to false after the toolbar lost focus but this had no effect. I really want to disable this highlight appearance completely...
One other thing, the text colour of the container tool caption is displayed in black, but all other text displayed in a toolbar is blue as per the Office2007 Style setting...
Thanks,
Martin.
I believe the highlighting issue has been fixed. If you upgrade to the latest SR, do you still see the problem?
Hello Mike,
I am using utratilepanel and tool bar.
I have couple of tool buttons on Tool bar, when I click either of them then I display UtltraTile in UltratilePanel.
What I am looking for once I click on tool button, it should remain Highlighted as long Tile is not close.
Its like when I click tool button, it toggle to highlighted mode, as if we hover mouse before clicking.
I hope you understand my question.
Thanks
Imran
Hello,
I fixed my problem by switching to "StateToolButton" instead of ToolButton.