Open this page in the API Guide

ViewPanel.focus Method

Put this control into focus.