>> Labels

>> Labels

am 30.11.2007 07:16:03 von Jonathan

Hi, you can tell from this question that I'm new at this...

I have 2 label controls, each with a different font (for effect...). The
problem is that I cannot get the 2 words to read as a continuation. That is,
the 2 label controls extend beyond the text that they contain.

Is there a way to butt together the text in these two controls?

Many thanks,
Jonathan

Re: >> Labels

am 30.11.2007 10:42:18 von Jeff Gaines

On 30/11/2007 in message
<6CB9EF83-4FE7-4F45-9DEE-78B0FD02480F@microsoft.com> Jonathan wrote:

>Hi, you can tell from this question that I'm new at this...
>
>I have 2 label controls, each with a different font (for effect...). The
>problem is that I cannot get the 2 words to read as a continuation. That
>is,
>the 2 label controls extend beyond the text that they contain.
>
>Is there a way to butt together the text in these two controls?

I think you'll need to do a lot of fiddling. Is it always the same text or
can it change? You may have to trap the text changed event and move the
labels programmatically.
Could you get the effect you want using a small RichTextBox where you can
format the text.

--
Jeff Gaines

Re: >> Labels

am 02.12.2007 20:30:06 von Jonathan

Hi Jeff, thanks for the idea of using the RichTextBox obvious really

Jonathan

"Jeff Gaines" wrote:

> On 30/11/2007 in message
> <6CB9EF83-4FE7-4F45-9DEE-78B0FD02480F@microsoft.com> Jonathan wrote:
>
> >Hi, you can tell from this question that I'm new at this...
> >
> >I have 2 label controls, each with a different font (for effect...). The
> >problem is that I cannot get the 2 words to read as a continuation. That
> >is,
> >the 2 label controls extend beyond the text that they contain.
> >
> >Is there a way to butt together the text in these two controls?
>
> I think you'll need to do a lot of fiddling. Is it always the same text or
> can it change? You may have to trap the text changed event and move the
> labels programmatically.
> Could you get the effect you want using a small RichTextBox where you can
> format the text.
>
> --
> Jeff Gaines
>