[Lazarus] Strange interaction between combox and IniPropStorage

Luca Olivetti luca at wetron.es
Tue Oct 6 15:15:56 CEST 2015


El 13/08/15 a les 09:24, Luca Olivetti ha escrit:
> El 12/08/15 a les 16:37, Luca Olivetti ha escrit:
>
>>
>> Definitely a regression: I just had to modify an old program (where this
>> feature worked) and it doesn't work anymore :-(
>> At least the workaround seems to do the job.
>
> It's not a regression, it's probably always been there, but I manually
> called SaveProperties previously, but since the IniPropstorage does it
> automatically, I removed my call.
> *However* it calls it when the form is being freed, and in that case the
> combobox returns the previous itemindex, not the changed one.
> I added a comment and a couple of possible patches in the bugreport.
>
> http://bugs.freepascal.org/view.php?id=28514

I see that the patch hasn't been merged in 1.4.4.
Please keep it in mind for 1.4.6

Bye
-- 
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007




More information about the Lazarus mailing list