Label controls inside rich textbox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
(e-mail address removed)
 
What would be your reason for doing this? Perhaps there is another way to
accomplish your ultimate goal without using labels at all.

Regards
 
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#.
 
Back
Top