Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
200
DockAreaApperance problems. Right align backgroundimage
posted

Hi.

I have an ultratoolbarmanager with a menubar and several toolbars. I would, however, like to add an image at the right side of the toolbar since there is a lot of space available.

My question is: Is is posible to put an image at the top right of the ultratoolbarmanager? Should this be done with a very vide image and then set strech options on the image, or is there a better solution?

Thanks

/Hykkel

  • 44743
    posted

    If you want the image in a toolbar, you could add two LabelTools to the toolbar. Set the first one's caption to an empty string and set it's InstanceProps.Spring to True. On the second LabelTool, add your image and give it no caption as well. Also set the toolbars Settings.FillEntireRow to True. At runtime, the toolbar will stretch to the edge of the Form and the second label will display the image at the right side of the toolbar. But if you don't want the image in the toolbar, where would you like to place it?