automaticlly type 0 in text box when i delete

firefoox

Member
Joined
Jan 26, 2008
Messages
6
Programming Experience
Beginner
i have made a simple a calculator but when i clear text box from 0 when i delete
number the textbox is empty
for example and type buton to calculate i got this error

~i wanna know how program automaticlly type 0 in text box when i delete or

~i want that 0 number to stay there in textbox if the texbox is empty



40392448rp9.png
 
Last edited:
Check if e.KeyCode is Delete key in KeyUp event and set Text property to "0".
 
Back
Top