Microsoft
Software
Hardware
Network
Question : capturing .net application tab event
I have this application that is divided into tabs, each representing a particular business function. TabA has a date field that is later used by TabB. I want to generate a message box if the user forgets to fill in the date field in TabA and then proceeds to click on TabB...is there a way to capture this event...the same way one can validate a textbox when the .leave event is fired
eg (private void textbox1_Leave(object sender, System.EventArgs e))...thanks.
Answer : capturing .net application tab event
Is the target form already open? If not, then create an instance:
FormX frmX = new FormX();
frmX.Show();
Otherwise you'll need a reference to the already open form so you can bring it to the front and focus it...
Random Solutions
Java/J2EE class loading architecture
Why does this xslt sort not work?
VS2008 - Help with preferences
How do I ensure different backup jobs append to the same tape(s) in a media set through the week Backup Exec 2010?
Change primary smtp addresses for 29 users using powershell for exchange
xp sp2 clients wont log or ping server 2003
how to recover the hdd image
Doing an INSERT or Update based on if the record already exists or not while importing data from a text file to SQL SERVER 2005.
phpmailer problem after migrating from Windows WAMP to Ubuntu LAMP
DockForm.DCU not found?