Pregunta

Today I face some problem: when I try add lines to TMemo on another form:

workingForm.scanLog.Lines.Add('Page ' + link + ' proceed.');

It's returning a error: enter image description here

What I doing wrong?

¿Fue útil?

Solución

Place a breakpoint on that line, and verify that workingForm and scanLog are not nil.

You should either make sure that they are assigned, or you need to check if they are before you use them.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top