Click to See Complete Forum and Search --> : URGENT:How to set focus in user control


Sanjeev
March 10th, 1999, 07:39 AM
I want to pass the focus of a user control to the called object (from where the focus has come to the user control). How do I do it.

G Cole
April 15th, 1999, 12:13 PM
If the control that you are sending the focus to has a enable property set it. (txtMyText.enable = true)
sometimes you need to preface this code with txtMyText.focus = true.
sometimes the .value property of other controls are set a value.
Hope this helps

Later,
Glen