Create a new error messaging control |
Top Previous |
- How to create a new error messaging control?
Often a convenient and useful way of validation feedback is to display an error message in some control e.g. label, list box (which can serve as validation log), status bar etc. This way of error indication is supported by TLMDControlErrorProvider which references such a control with its ErrMsgControl property. The error messaging control has to support ILMDValidatingMsgControl interface defined in LMDVldBase unit.
ILMDValidatedControl interface methods
See LMD Demo VCL Validated Controls for examples of implementing error messaging controls. |