Open this page in the API Guide

MainMenu.focus Method

Put this control into focus.