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
How to change pass AD with WSS 3.0?
anchor on seperate page not working in safari and firefox
Operator '=' is not defined for type 'DBNull' and type 'Integer' - how to fix
Teaching iPhone app creation...Any advice?
Trusted Location Error Message "2001"
IE8 or Higher
Icons and Start menu disappeared from desktop, running Windows 7 Home Edition on a Dell
psexec and copy file permissions
setting SMTP server - please see attached file - it is not working
Sudden Laptop screen failure