Ask a Question

Unable to read Text property in a TComboBox in Delphi

eliaralva
Occasional Contributor

Unable to read Text property in a TComboBox in Delphi

Hello, I am trying to read the property Text of a ComboBox in Delphi with TC7:



ShowMessage(Aliases.Main.fmain.combobox1.Text);


and I am getting this error message (pls see attached image):



"The property or method does nor exist or it is used incorrectly.

you are trying to read a write-only property or to write a read-only property"





Thanks,



Elia.


3 REPLIES 3

Hi Elia,


1. What is the name, vendor and version of your combo box control?

2. Which version of Delphi did you use to compile your application?


Best regards,
Alexey

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
eliaralva
Occasional Contributor

Hi Allen, I'm using Delphi 5 and TComboBox with TC 7.52.678.7, thanks in advance!

Hi Elia,


We cannot reproduce the problem on our side (TComboBox, D5, TC 7.52).


Can you reproduce the issue with TC 8.0? If you can, please send us a sample application demonstrating the issue via our Contact Support form:

http://www.automatedqa.com/support/message/


Best regards,
Alexey

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: