ActiveControl

  • Thread starter Thread starter Bud James via DotNetMonster.com
  • Start date Start date
B

Bud James via DotNetMonster.com

How do i determine when the activecontrol has changed and by changed i
don't mean the value of the activecontrol but my activecontrol was textbox1
now it is textbox2. The problem is based on what type the activecontrol is
i want certain menu items enabled. For example if a datagrid is the
activecontrol then i want the print menu enable otherwise not. Any ideas??
 
Hi Bud,

I'm afraid there is no way to catch changes to the ActiveControl properties.
What you can do thow is to monitor control's Enter events.

HTH

Stoitcho Goutsev (100) [C# MVP]
 
Back
Top