Recent

Author Topic: TSpinEdit value is not properly updated using cocoa  (Read 164 times)

apeoperaio

  • Full Member
  • ***
  • Posts: 157
TSpinEdit value is not properly updated using cocoa
« on: September 18, 2019, 02:33:21 pm »
I noticed that TSpinEdit value is not properly updated using cocoa widgetset.
It seems related to the fact that the value is not updated when the TSpinEdit lose the focus.

I got this error putting a TSpinEdit on a modal form.

I attach a sample project to reproduce this behaviour.
To reproduce it just launch the application, press the button on form1. Change the value in the SpinEdit1 then, using the mouse, click the Button1 on Form2 to close the form.
If you change control on Form2 using TAB the SpinEdit1.Value is properly updated, if I change the SpinEdit1 value then using the mouse I click the Button1 on Form2 the SpinEdit1 Value is not updated.

Is it a known bug?

Lazarus 2.0.5 r61860 FPC 3.0.4 x86_64-darwin-cocoa (alpha)

apeoperaio

  • Full Member
  • ***
  • Posts: 157
Re: TSpinEdit value is not properly updated using cocoa
« Reply #1 on: September 20, 2019, 06:04:06 pm »