TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sam
NA
166
0
VS2008 C# right click
Feb 25 2012 12:04 PM
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
Reply
Answers (
6
)
Java Script Popup confirm in ASP.Net
Pointer and REF