Hi all,
i have a situation to place label controls inside rich textbox
control and i have done that using richTextbox1.controls.add method. But the
problem is the controls are not part of the text which i type it is
overlapping my text.In simple words, Is it possible to make a label control
work just like a text inside the rich textbox. I did find out that this is
possible in java, to be exact it is achieveable using a TextPane java
control. Any inputs or ideas to acheive the same in .Net (C#) would be a
welcome.
Thanks in advance.

Regards
Muthu
muthuraman.m@polaris.co.in

RE: Label controls inside rich textbox by dlgproc

dlgproc
Fri Mar 11 12:23:02 CST 2005

What would be your reason for doing this? Perhaps there is another way to
accomplish your ultimate goal without using labels at all.

Regards

"Muthu" wrote:

> Hi all,
> i have a situation to place label controls inside rich textbox
> control and i have done that using richTextbox1.controls.add method. But the
> problem is the controls are not part of the text which i type it is
> overlapping my text.In simple words, Is it possible to make a label control
> work just like a text inside the rich textbox. I did find out that this is
> possible in java, to be exact it is achieveable using a TextPane java
> control. Any inputs or ideas to acheive the same in .Net (C#) would be a
> welcome.
> Thanks in advance.
>
> Regards
> Muthu
> muthuraman.m@polaris.co.in
>
>

RE: Label controls inside rich textbox by Muthu

Muthu
Sun Mar 13 22:03:04 CST 2005

I am using the labels to get the event click inside the textbox.
for example,
the text would be the following inside rich textbox,

THIS IS TO ADD <AMOUNT> and <TEXT>

In that text, if i click the <AMOUNT> Text,i have to do some actions,
If i click <TEXT> i have to do some other actions,so i have placed the
controls inside the rich textbox,
i dont know any other ways, please tell me the another way of doing this.

Its really an urgent one.
Could u please tell me the another way of achieveing this using C#.

"dlgproc" wrote:

> What would be your reason for doing this? Perhaps there is another way to
> accomplish your ultimate goal without using labels at all.
>
> Regards
>
> "Muthu" wrote:
>
> > Hi all,
> > i have a situation to place label controls inside rich textbox
> > control and i have done that using richTextbox1.controls.add method. But the
> > problem is the controls are not part of the text which i type it is
> > overlapping my text.In simple words, Is it possible to make a label control
> > work just like a text inside the rich textbox. I did find out that this is
> > possible in java, to be exact it is achieveable using a TextPane java
> > control. Any inputs or ideas to acheive the same in .Net (C#) would be a
> > welcome.
> > Thanks in advance.
> >
> > Regards
> > Muthu
> > muthuraman.m@polaris.co.in
> >
> >