Positioning a label on right end of a toolbar


02-11-2009, 7:13 AM
Dear all,

how can a position a label on a toolbar-band on the right edge. Which Properties are needed? The Text on the label should be right aligned.

thanks in advance
Marcus

Re: Positioning a label on right end of a toolbar


02-11-2009, 10:20 AM
Marcus,

The way to achieve this would be to set Label's AutoSize property to ddTASSpringWidth and its Alignment property to the Right. Please see the attached sample.

Thank you,
Andrey T.

Re: Positioning a label on right end of a toolbar


02-14-2009, 2:14 AM
Hallo Andrey,
in your exampe you will use Office2000-Style for AB. But if you use Office2003-Style for AB your example doesn't work. The label will not postioned to the right edge of the band. Please check again why.

Thanks in advance
Marcus

Re: Positioning a label on right end of a toolbar


02-16-2009, 3:26 AM
Marcus,

For now we have a Case 11689 about the problem you've described addressed to our
development staff. (Setting a Label tool's Autosize to spring width and/or height does not have an effect for the new ToolbarStyles (Office2003 or VisualStudio2005). I have included this thread with the case.

Thank you,
Andrey T.