I placed 2 text boxes on one sheet of an SSTab control.
When the user switches tabs the Validate Event is not triggered.
Does any one have a solution?
Printable View
I placed 2 text boxes on one sheet of an SSTab control.
When the user switches tabs the Validate Event is not triggered.
Does any one have a solution?
Does the SSTab has a CausesValidation property? If not then it won't be triggered indeed.
Crazy D @ Work :-)
Yes, it does have a CausesValidation property and it is set to true.
Does the validate event occur when you switch to another control?
Maybe it will work when you set the focus to another control on the (new) tab when you switch the tabpage
Crazy D @ Work :-)
the validate event DOES occur when I leave the SSTab control.
But, setting the focus to another control on the new tab didn't help.
Well, I have found a workaround, I explicitly call the _Validate proc of the relevant controls.
it's a pain, though, because I have to code around unwanted recursions.
I was just wondering, why I couldn't find any hints in the knowledgebase...
Has anyone found a fix to this as I have the same problem?