TComboBox.ReadOnly replacement lazarus / 31-LCL ---------------------------------------------------------------------- Milsa · 2018-11-25 17:39 I am using Lazarus 1.8.4 and my project uses TcomboBox.ReadOnly property. I will upgrade to 2.0 but I read this: http://wiki.lazarus.freepascal.org/Lazarus_2.0.0_release_notes part TCustomComboBox.ReadOnly was deprecated How do I replace this property in my code? ---------------------------------------------------------------------- lucamar · 2018-11-25 18:41 The note itself offers a sugestion: QuoteRemedy: Use extended styles for the same feature. from which I conclude that you must do (in code or in the object inspector): Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i MyComboBox.Style := csDropDownList; which style, acording to the documentation, means: QuotecsDropDownList: The box has a drop-down list, from which entries can be selected (manual text entry disabled). ---------------------------------------------------------------------- Milsa · 2018-11-26 11:03 I am using autocomplete with dropdown list too. It is possible to use it with readwrite mode? ---------------------------------------------------------------------- lucamar · 2018-11-26 13:30 I think it's possible, yes. But try it and make sure yourself ---------------------------------------------------------------------- Milsa · 2018-11-26 16:19 I have old version. I will edit project after update Lazarus to 2.0. I will update later. I need any time for project changes. ---------------------------------------------------------------------- Milsa · 2018-11-26 16:19 Thank you for your help.