473,387 Members | 1,561 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

TextBox.OnValidating Event

Hello,

Here is the problem,

My code exists out of the TextBox.OnValidating event
cleanly because the user has click on a menu that allows
the user to load another screen, when that screen is
unloaded and now the cursor is back on the TextBox, I am
able to tab off the textbox without it running by
OnValidating event again, how do I get .Net to force the
validating event to be triggered as soon as I tab off in
ALL cases.

Please note the CauseValidated property is set to the
default value of true so I know that it should be
triggering in all cases but it does not in this case.

Please help,

Nov 15 '05 #1
0 1255

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jim | last post by:
Is it possible to determine where the focus is going in or before the OnValidating event has been processed? I know you can ge the window recieveing focus in the LostFocus event (WM_KILLFOCUS)...
1
by: BuddyWork | last post by:
Hello, How can I trigger the OnValidating event for a TextBox from another Form? Say Form1 has TextBox, Form1 is loaded modaless and Form2 is loaded Modaless but I want to run the TextBox...
0
by: BuddyWork | last post by:
Hello, Here is the problem, My code exists out of the TextBox.OnValidating event cleanly because the user has click on a menu that allows the user to load another screen, when that screen is...
2
by: Vern | last post by:
I have a custom control which has it's own OnValidating event handler. I would like to skip the validations if the Cancel/Exit button is pressed. Also, if possible, would like to skip the...
0
by: Vern | last post by:
I have a custom control which has it's own OnValidating event handler. I would like to skip the validations if the Cancel/Exit button is pressed. Also, if possible, would like to skip the...
1
by: Vern | last post by:
I know that I can get it to run but setting the focus to that control, and then to another control that causes validation, but I'm wondering if I can trigger that event for a control without using...
2
by: Mac via DotNetMonster.com | last post by:
Hi all, I have created my own class DateBox which inherits from the System.Windows. Forms.TextBox class. In this DateBox class I catch the validating event so that I can run some code to...
0
by: Philipp | last post by:
Hi, I made my own DataGridViewEditingControl, DataGridViewCell and DataGridViewColumn. Is it possible to use an Onvalidating event in an editing control in a datagridview? I wrote something...
2
by: markgordon_007 | last post by:
This should be so simple but I can not figure it out hopefully some one can point me in the right direction... Visual Studio 2008 and c# and winforms .... I'm trying to create a textbox class...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.