Results 1 to 5 of 5

Thread: Label inside a Textbox or RichTextBox

Threaded View

  1. #1

    Thread Starter
    Fanatic Member uniquegodwin's Avatar
    Join Date
    Jul 2005
    Location
    Chennai,India
    Posts
    694

    Label inside a Textbox or RichTextBox

    Hello everyone..
    Im trying to place labels inside a textbox(or richtextbox) dynamically whenever the user right clicks on a paticular place.I want to dynamically add the label where the user right clicks.And i want the label to move if he places the cursor behind the label and presses spacebar or even if he presses backspace.
    I hope somebody can understand what I mean.
    Please help me with this..
    Thanks so much



    Edit:I have tried....but the basic problem im facing is when i try to move the control dynamically by pressing space or backspace.
    After placing the label inside the textbox,the text gets hidden behind the label instead of pushing the label to the side.
    I want to know what logic can be used to automatically make the text typed to move the label.

    An example of this: Place a picture in Microsoft word...place the cursor before it and type,...you'll notice the picture moving forward as you type.If you press backspace,the picture moves backwards.
    Last edited by uniquegodwin; Nov 14th, 2006 at 06:13 AM.
    Godwin

    Help someone else with what someone helped you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width