DimkaNewtown Posted February 21, 2003 Posted February 21, 2003 I need to be able to disallow the use of shortcuts in a textbox such as "Ctrl+C", "Ctrl+V" and others as well as mouse select and right-click menu. I am using windows forms in C#. Quote
Moderators Robby Posted February 22, 2003 Moderators Posted February 22, 2003 For the right-click you can add a New context menu to the textbox. Ctrl+C can be handled by the Keypress event Quote Visit...Bassic Software
DimkaNewtown Posted February 22, 2003 Author Posted February 22, 2003 So if I use the Handled property and set it to false, then the processing of the keypress would end there? :confused: Good idea about the new context box, thanks! :cool: Quote
Moderators Robby Posted February 22, 2003 Moderators Posted February 22, 2003 Yes to the KeyPress....Handled =True Quote Visit...Bassic Software
DimkaNewtown Posted February 22, 2003 Author Posted February 22, 2003 It was late, I meant true... :) thanks! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.