Recent

Author Topic: [closed] TSpinEdit value is not properly updated using cocoa  (Read 1336 times)

apeoperaio

  • Sr. Member
  • ****
  • Posts: 272
[closed] 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)
« Last Edit: October 22, 2019, 11:50:27 am by apeoperaio »

apeoperaio

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

apeoperaio

  • Sr. Member
  • ****
  • Posts: 272
Re: TSpinEdit value is not properly updated using cocoa
« Reply #2 on: October 22, 2019, 11:50:09 am »
Fixed and closed in Trunk rev 62106

Thank you Dmitry Boyarintsev

 

TinyPortal © 2005-2018