Hi!
I am using the UltraToolbar. There I have Standard Toolbar Buttons and I have ControlContainers with Standard UltraButtons on them.
When using different styles I get different font Settings on my Ultrabuttons in the ControlContainers. Basically I am Setting Fontsize, bold and fontfamily in my Toolbarsettings. But the Appstylist changes this Settings and does not apply These Settings on my Ultrabuttons.
I tried to modify the Resolution Order in the isl (e.g. Office 2007blue), but did not get the expected result.
How can I copy the Buttonstyle of the Toolbarbutton to my UltraButtons?
TIAJosef Resperger
Hi Josef,
If they are UltraButton controls, then all you have to do is Style the UltraButton UIRole and apply the same font to it as you are applying to the toolbars.
Thanks for the quick reply, but I think it is not that easy.I am doing this all dynamic - the whole toolbar, and Buttons are used on the forms too. If I go to style the button in General, this would affect not only the Buttons inside the toolbar?
And how can I do this dynamically?
HI
That is a longer Story. I had already a discussion with one of your colegues. On our toolbar we had 2 kinds of Buttons. Normal Toolbarbuttons and popupgallerytools with segmented Buttons.The segmented Buttons had a Standard method which where bound to the button and had a drop down with alternative functions. The only Problem was that the Little arrow is hard to catch for People with some eye problems. So users wish for an alternative way. I know I can modify the segmented to Default, but then I loose the Standard button function an will always get the drop down. So we were looking for an alternative which does not work much different inside our classes.
My last decision was to embedd a normal Ultrabutton in a Container and add a popup-menu to them. This basically works fine and did not Need modification of the classes.
Even the Buttons look alike if i made them UIElementButtonStyle:Office2007RibbonButton. The only remaining Problem is the font. Even with different styles this Comes out pretty nice.
Maybe the solution will be that I forgett about the Toolbarbuttons and replace them all with Container and UltraButtons?
I hope I have explained this in an understandable way.
I have no experience with StyleSets so far. One other way would be that I am able to modify all styles that the Buttons use the same Font / Fontsize etc. This would be Arial - Size 11 and bold.
Thanks for your Patience.
Hi Resperger,
Did you have the time to try the 'StyleSet' approach. Do you think that it suits your needs?
HI!
No, Actually I have no experience with that and I did not have time to study this in Detail in the meantime.Styling is a complicated matter to discover.Thanks for your concern anyway.Josef
I solved the Problem with another metod. I work with normal Toolbarbuttons again and catch the right mouse click and open a free Standing ToolStipmenu. That way I Need not concern with the style.
Thanks for your efforts
Hi,
I am glad to hear this. Thank you for sharing your solution with us.
We believe that the other community members could benefit from such threads.
Please feel free to let me know if a question about our toolset comes up on your mind.