Lose Focus Of RectControl

How do you lose focus of a control in code using Xojo. I am trying to do this with a TextField. Thanks

Move the focus to a different control using any one of several mechanisms
A control can set the focus (see http://documentation.xojo.com/index.php/RectControl)
Or you can ask the window to move the focus to something else ( see http://documentation.xojo.com/index.php/Window FocusNext)
Or use the Windows.SetFocus method http://documentation.xojo.com/index.php/Window.SetFocus