Forum > Beginners

Edit1.Text = Type TEDIT has no component named TEXT

<< < (2/2)


--- Quote from: rvk on May 05, 2022, 09:27:36 am ---This is probably an inspection, watch or debug window (hovering over Edit1.Text) where Edit1.Text isn't accessible because it's not a field but has a Getter/Setter.

--- End quote ---

Now, I remember that. Thanks rvk.

I had that problem too. My solution is simple, use a variable for getting the value of that property so we can debug and hovering the mouse pointer on that variable.

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---  Test := Edit1.Text;

We are doing all the same... :D :D


[0] Message Index

[*] Previous page

Go to full version