Hi there,
I would like to know how to run current control's Validate Event before performing a treatment.
For example, I have to check several textboxes containing dates before clicking on a button that starts a SQL query.
The problem is that my "OK" button has its Default property set to True : so, no event related to the current control is started (nor Validate, neither LostFocus) when I push on Enter.
Globally, how could I write the magic instruction "MyForm.ActiveControl_Validate" ?
Thanks !
Lemox
Lemox
I would like to know how to run current control's Validate Event before performing a treatment.
For example, I have to check several textboxes containing dates before clicking on a button that starts a SQL query.
The problem is that my "OK" button has its Default property set to True : so, no event related to the current control is started (nor Validate, neither LostFocus) when I push on Enter.
Globally, how could I write the magic instruction "MyForm.ActiveControl_Validate" ?
Thanks !
Lemox
Lemox