Setting focus to panel

I have a vb script for the SO object and when my validation fails I want the Lines panel to have focus to minimize the user having to click it.