Ok, I tested it -- D7 does the same. Actually, ValidateEdit only fires
if the text was modified. (Or always at the design time).
Thanks for testing it for me.
I'll implement it that way then.
Bart
___
Lazarus mailing list
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
On Sun, Dec 28, 2008 at 09:43, Bart bartjun...@gmail.com 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
Hi,
I'm currently working on the MaskEdit unit, which is ATM not totally
Delphi compatible ;)
Since I only have an ancient Delphi (D3) (on ancient hardware, so I
cannnot even run newer versions) I have some questions on the
behaviour of MaskEdit in current delphi versions.
Question 1:
If I set
On Sat, Dec 27, 2008 at 10:07, Bart bartjun...@gmail.com wrote:
Question 1:
If I set the text of a MaskEdit to some value that does not match the
mask (e.g. EditMask = '' and then MaskEdit.Text := 'ABCD'), in D3
no exception is raised and the text in the control is set. Is this
still the