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.
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:
What I doing wrong?
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.