/// <summary>
        /// Set focus to this control.
        /// </summary>
        public void SetFocus()
        {
            IUserInterfaceWindow topWindow = DaggerfallUI.UIManager.TopWindow;

            if (topWindow != null)
            {
                topWindow.SetFocus(this);
            }
        }
Beispiel #2
0
        public static void SetFocus(BaseScreenComponent control)
        {
            IUserInterfaceWindow topWindow = Instance.uiManager.TopWindow;

            if (topWindow != null)
            {
                topWindow.SetFocus(control);
            }
        }