private sub loquesea(byval sender as object, byval e as keyeventargs) handles mytextbox.keyup if convert.tostring(e.keycode) = "F4" 'loque quieras end if end sub