finish your ONclick button event with this:

ActiveControl:=nil;