Subject | IB_EditEnh. Own error handling, how ? |
---|---|
Author | Sándor Nagy |
Post date | 2000-12-14T10:42:45Z |
HI,
I have a form with many fields, there are some date fields on it also.
I can not switch off the built in error handling in the IB_EditEnh
component. I don't want to get the English message if the filled
date is invalid, and I have to make some other chekings (range cheks)
on every date field.
How can I disable the built in error handling in IB_EditEnh ?
" OnValidateError -> RaiseExc := False; " doesn't works.
I tried to catch the errors on the IB_Query s BeforePost event.
I made my own error handling (try-except) code there.
Maybe on wrong place ?
Thx
Alex
I have a form with many fields, there are some date fields on it also.
I can not switch off the built in error handling in the IB_EditEnh
component. I don't want to get the English message if the filled
date is invalid, and I have to make some other chekings (range cheks)
on every date field.
How can I disable the built in error handling in IB_EditEnh ?
" OnValidateError -> RaiseExc := False; " doesn't works.
I tried to catch the errors on the IB_Query s BeforePost event.
I made my own error handling (try-except) code there.
Maybe on wrong place ?
Thx
Alex