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
System Restore Points Not Created on Win 7
How do I add a due date column, and sort by the document date in AR Statements?
How many database instance that can be supported by SQL Server 2008 Standard Edition?
obtain source (/usr/src) for 8.0-RELEASE-p3
Counting number of days between two dates using C#
Column Name in query
Sed help
PXE-E55: ProxyDHCP service did not reply to request on port 4011 Using SCCM 2007
How can i setup IIS on windows server 2008
How do I lookup and insert the foreign key value into a table when passing a variable value from different column in the related table?