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
.NET framework error on install
Pervasive SQL 9.5 - odbc SELECT Query - DATE = '0000-00-00'
How to deny write to the desktop for users?
Saving Favorites in Windows 7, IE 8
Windows 2008 Standard server connects at 1GB/S but reverts back to 10MB/S
Deploy Printer Drivers to WinXP Computers
Dont display record if string field is blank/null
OWA - The certificate is not valid for the requested usage
WCF hosted on IIS: Why doesn't it show me the WCF method name and it's signature?
format of numeric data in nvarchar field