Yes ,i tryed that in onActivate (Form) but the cursor is still there in the form .