IValidator interface
If a control wants to validate user input, it must implement this interface.
Validates certain data.
The implementation of this function should validate certain data (e.g. data entered into TTextBox control).