c# - How to lock the control of textbox? -



c# - How to lock the control of textbox? -

i wanna lock command of textbox. mean, user can't input, cut, copy, paste form keyboard.

instead, create virtual keyboard (like on-screen keyboard on windows).

when user clicks key keyboard, write value "textbox.text".

i don't know: there way lock textbox request?

the textbox can't inputted, cut, copied, pasted "real keyboard". can receive info (value) "virtual keyboard".

i don't talk "how design "virtual keyboard" form?". it's textbox control.

can tell me solution?

thanks!

make textbox disabled. so:

textbox1.enabled=false;

or replace label; disabled textbox has gloomy grayness color, label's colors freely changeable. label has text property too, textbox.

c# textbox

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -