Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Active control and Active form
Message
 
To
29/09/2005 17:14:50
Nitin Parulekar
New Zealand Software Corp Ltd
Hamilton, New Zealand
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01054698
Message ID:
01056919
Views:
21
If you app is a MDI app it is very simple. Is it a MDI or SDI? (Now that I think about it VFP's _SCREEN works just like a MDI main form.)
If your app is SDI I can't think of a built in way to do what you want.

Einar
>Hello,
>
>I come from Visual Foxpro world and am just starting on .NET using C#. In Foxpro, there is _screen.Activeform that gets a handle to the currently active form and then for a form there's Activecontrol to indicate which control has the focus.
>I do this from a Toolbar button. Since a toolbar itself does not "get active focus", the above works quite well in determining what or where the current focus is.
>
>How can I do this in .NET ?
>
>TIA,
>
>Nitin
Semper ubi sub ubi.
Previous
Reply
Map
View

Click here to load this message in the networking platform