thx for responding(this is actually my first question on this forum)
i meant that i wanted a code to see which method was used. (why would it be a different code? the same way to detect a input by hand could trigger that the textbox.value should reset to "")
thx