Hi,

I'm working on a user-drawn control that has a HasTextbox property, which allows the user to disply or hide a textbox in the control.

I'm have a problem with the focus. I've got a focus rectangle which moves around my controls just fine, as long as I don't have any textboxes visible.

As soon as I make a textbox visible, however, the focus goes right to the textbox, and not to the user-drawn part of the control.

Any suggestions?

Elizabeth