vb.net - Don't allow editing a textbox once it was filled, allow only entering new values -


i have mathematical calculation program.
want cycle between textboxes pressing tab button , must select value in textbox.
can use program entering new values (i don't want allow backspace delete current values).

currently, there blinking cursor @ right of value.

note: i'm using visual studio 2013

use .selectall when text box got focus

private sub textbox1_gotfocus(sender object, e system.eventargs) handles textbox1.gotfocus         textbox1.selectall() end sub 

Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -