Window focus

  • Thread starter Thread starter piotrek
  • Start date Start date
P

piotrek

Hi.
I have two Forms.
Second one is obtained by clickin button in first one.
Would like to deny acces to first window, when second has focus.
Its commonly used technique but i dont know how to do this.
PK
 
Hi Piotrek,

an easy way to do this, is to show the second
windows as dialog (ShowDialog). So the user
can't use any control placed on form 1 until
he closed the second form.

Cheers
Lars Behrmann

_________________
Nothing is impossible. UML is the key for all your problems.
AODL - Make your .net apps OpenOffice ready
http://aodl.sourceforge.net/
 

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

Similar Threads


Back
Top