Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
6
Answers
VS2008 C# right click
Sam
11y
3.9k
1
Reply
Hi,
I have a strange situation with right-click
I have one form upon which I have one text box and one rich textbox (among many other controls).
When I right-click the textbox, I get a normal menu with copy-paste-delete etc. controls ( I dont remember defining it...).
When right-clicking the rich textbox, I get nothing.
As I wanted also to have right-click on the rich textbox, I searched to find how the text box right-click is defined, but could not find any sign of it.
I compared the properties - found nothing.
I searched the entire solution for right-click (searched mouse, right, click, etc.) and could not find any clue where the right-click command and definitions are hidden.
It must be defined somewhere, but where?
Following several tests, I found out that text boxes (as well as numeric up-down) will always have right-click menue, while rich text boxes will never have one.
The MSDN library states the following:
"By default, both
TextBox
and
RichTextBox
have a context menu that appears when a user right-clicks inside the control. The context menu allows the user to cut, copy, or paste"
Well, this seems to be false, or have I done something to remoev it??
sam
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
Java Script Popup confirm in ASP.Net
Pointer and REF