G
Guest
Our program uses .net cf 1.0
We have form validation that executes every time an item looses focus.
However the one time we don't want validation to execute is if the item
looses focus because the user hits the CANCEL button. Is it possible to
determine what an item is loosing its focus to. Here is an example of what I
would like to do:
Item_Looses_focus()
if( cancel button was clicked)
{
return
}
else
{
validate_item()
}
We have form validation that executes every time an item looses focus.
However the one time we don't want validation to execute is if the item
looses focus because the user hits the CANCEL button. Is it possible to
determine what an item is loosing its focus to. Here is an example of what I
would like to do:
Item_Looses_focus()
if( cancel button was clicked)
{
return
}
else
{
validate_item()
}