I ran into a problem while writing code in Delphi. Namely, I can’t access the components, even if they are declared, and I used them in the code above (earlier in the procedures, now I try to use them in functions - maybe this is the reason, I don’t know, I'm not good at Delphi ) I made some screens to make them look clearer. Take a look.


http://imageshack.us/photo/my-images/135/weirddelphi3.png/ ">
As you can see on the first screen, I get a compiler error. It says that the component does not exist, but on the third screen you see that this component exists. On the second screen, I can even use this component (Code Completion can be called successfully, but if I try to call it in the secondFunction area, I get this error: “Could not cause code completion due to errors in the source code” - but what hell is a mistake?). If I comment on these two lines, which relate to Edit7 and Edit8, I can run the program without problems. I really cannot understand what is wrong, if any of you could give me some advice, it would be very helpful. I didn’t want to publish all the code here because it will take about 300 lines, but if you need to know something else to figure it out, then ask, I will tell you.
I do not have enough reputation points to place more than two hyperlinks, so you need to do “copy and paste” with the latter: D
koleS
source share