WebTextField.LostFocus how to set initial focus

I’ve subclassed WebTextField and am (hoping) to use the .LostFocus event to do some entry validation. It’s working well, however I’m struggling to load the page and NOT have any of the WebTextFields capture the initial Focus (because that would mean getting a LostFocus event before the user willingly selected that field).

I’ve tried using SetFocus on other controls during the Opening and Shown events, but the page always seems to assign focus to the first WebTextField it iterates to.

Is there a way to set which control really has Focus when the page is done loading?

set a property of your webpage to “starting = true”.
In the shown-event, set focus to a button and then starting = false.
In the textfield.lostfocus event use “if not starting then”