The detailer has a property ap_ControlToSetFocusToInitially which will set the focus to that control on loading of the detailer when the detailer is not in display mode.
The recommended place to set this property is in the am_SetParentProperties override method.