[Lazarus] TComboBox.ReadOnly

Juha Manninen juha.manninen62 at gmail.com
Fri May 1 12:33:10 CEST 2020


Regarding issue:
 https://bugs.freepascal.org/view.php?id=36978

TComboBox ReadOnly was deprecated in r55243 by Ondrej at 2017-06-05.
No reason is mentioned but I believe it had good reasons.
The deprecated message was updated in r59467 by Mattias at 2018-11-06.

The deprecated message says: "use extended Style values instead."
How exactly should they be used to get the old ReadOnly behavior?

The deprecated message says the ReadOnly property will be removed in
Lazarus 2.2.
I removed it and fixed the numerous side effects. The changes are in the
attached patch.
There may be more side effects, I only tested with packages that happened
to be installed here.
Is it OK to apply?

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20200501/294afa41/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-LCL-Remove-deprecated-TComboBox.ReadOnly.patch
Type: text/x-patch
Size: 4575 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20200501/294afa41/attachment.bin>


More information about the lazarus mailing list