Results 1 to 2 of 2

Thread: rtbEx. rtb with right click menu [2008]

  1. #1

    Thread Starter
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    25,479

    rtbEx. rtb with right click menu [2008]

    heres a richtextbox that i've extended to incorporate a right click edit menu...

    edit: thanks Nick. that is slightly neater. i originally wrote it in vb2005, then upgraded it to vb2008. there are some changes with the contextmenustrip in vb2008.
    Attached Images Attached Images  
    Attached Files Attached Files
    Last edited by .paul.; Feb 8th, 2009 at 06:18 PM.

  2. #2
    PowerPoster
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,070

    Re: rtbEx. rtb with right click menu [2008]

    Is there any reason why you didn't just use a ContextMenuStrip component and set the ShortCutKeys property of each item, instead of 'faking' the ShortCut display by setting it in the text?

    It's not really a big difference I suppose, but this way there is a rather large empty space to the right of the shortcut letters which I think is not there if you just assign the ShortCutKeys property?

    Otherwise nice and usefull control, saves alot of time if you gotta make RTB's often

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