[Lazarus] SpinEdit on Delphi question (related to bug 26488)

Bart bartjunk64 at gmail.com
Sat Jul 26 16:41:27 CEST 2014


I'm trying to fix issue http://bugs.freepascal.org/view.php?id=26488
For this I need to know how Delphi behaves in following situations:

Given that SE is a TFloatSpinEdit (if Delphi only has SpinEdit this
will do as well):
Given that SE.Value is set to 10 at design time.

Now do (in code @runtime):

SE.Text := 'abc'; //obviously invalid number
After that what is the content of SE.Value?
Is it 10 or 0 or something else? (in D3 with a SpinEdit it is 0.)

Same question if you do SE.Clear as the first step.


More information about the Lazarus mailing list