If this is your first visit to our forums, welcome!
Try send focus of it as well. if does not work from OnBeforeShow, you will have to use OnShow unfortunately.
Samuel Pizarro
Forum Rules