On Sun, Dec 28, 2008 at 09:43, Bart <[email protected]> wrote:
>> I am not sure how modern Delphi behaves, but I'd say that Lazarus
>>  way is correct here -- this is clearly a programmes's error.
>>  OTOH, I think it would be useful to provide a separate function
>>  like 'TrySetText' which whould return false instead if saising an exception.
>
> In D3, D4 and Kylix1 ValidateEdit is only called if either the user
> presses Enter in the control, or the control looses focus.
>
> I still would like someone to test this in D7 or higher.

Ok, I tested it -- D7 does the same. Actually, ValidateEdit only fires
if the text was modified. (Or always at the design time).

-- 
Alexander S. Klenin
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to