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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top