Should not copy-paste in textbox into textbox in C#.Net
-
Hi all, I have two Text boxes..But i need Should not copy-paste in textbox into another textbox in C#.Net... So pls Help me.... Regards Somasundaram G
-
Hi all, I have two Text boxes..But i need Should not copy-paste in textbox into another textbox in C#.Net... So pls Help me.... Regards Somasundaram G
basically I see two options: 1. subclass TextBox and overide
WndProc(ref Message m)
2. catch TextChanged event and check if the textbox's text is equal to the clipboard's content. but this might get you in trouble, if (as I assume) these two textboxes should contain the same (e.g. password/email confirmation). -
basically I see two options: 1. subclass TextBox and overide
WndProc(ref Message m)
2. catch TextChanged event and check if the textbox's text is equal to the clipboard's content. but this might get you in trouble, if (as I assume) these two textboxes should contain the same (e.g. password/email confirmation).