How to Set Focus

  • Thread starter Thread starter Rob
  • Start date Start date
R

Rob

I have a dynamically created User Control inside of a dynamically created
Flow Layout Panel inside of a Tab control added at design time....

The form where the Tab Control resides is a Singleton Type Form.

How can I set the focus to a text box in the the Singleton form when a user
has clicked on one of the User Controls ?

Can I create a property that allows you to set the focus ?

If so, how ?
 
Yes, I forgot to put the "Instance" in the command...

Form.Instance.TextBox.Focus()

Thanks,
rob
 
Back
Top