all groups > vb.net controls > august 2004 >
You're in the

vb.net controls

group:

Textbox control missing the focused property.



Textbox control missing the focused property. pbernst2 NO[at]SPAM csc.com
8/20/2004 5:54:51 PM
vb.net controls: I am currently working on a project that requires programmatic control
of the tabbing order on the form. This is a rich client app. I need to
detect which control has the current focus. For some reason, the
textboxes and radio buttons do not have a "focused" event when I
right-click in the code-behind to select a property
(mytextbox.focused).

We are running Visual Studio .NET 2003 with the .NET Framework 1.1.

All documentation refers to the textbox having this property. Our
desktops contain the Windows.System.Forms.dll, version v1.1.4322.

Re: Textbox control missing the focused property. hirf-spam-me-here NO[at]SPAM gmx.at
8/21/2004 11:10:21 AM
* pbernst2@csc.com (Phyllis B.) scripsit:
[quoted text, click to view]

Add a handler to their 'GotFocus'/'LostFocus' events by hand.

--
Herfried K. Wagner [MVP]
AddThis Social Bookmark Button