TFloatSpinEdit and TTIFloatSpinEdit can not be changed at run time
Original Reporter info from Mantis: crlab @neurolabusc1
-
Reporter name: Chris Rorden
Original Reporter info from Mantis: crlab @neurolabusc1
- Reporter name: Chris Rorden
Description:
Hello-
With the Integer based TSpinEdit, you can change a value at run time:
SpinEdit1.value :=22;
However, the Real-number TFloatSpinEdit and TTIFloatSpinEdit can not be changed at runtime.
FloatSpinEdit1.value := 22;
TIFloatSpinEdit1.value := 22;
Curiously, after the user interacts with the components, the values can be set at run time. For example, if the user increases or decreases the value, you can later on change the value in code.
Steps to reproduce:
Place components on Form, link code below to SpeedButton:
procedure TForm1.SpeedButton1Click(Sender: TObject);
begin
SpinEdit1.value :=22
FloatSpinEdit1.value := 22;
TIFloatSpinEdit1.value := 22;
end;
Mantis conversion info:
- Mantis ID: 1992
- OS: Windows
- OS Build: XP
- Platform: Windows
- Version: 0.9.14
- Fixed in version: 0.9.15 (SVN)
- Fixed in revision: 9122 (#1167080b)