Вопрос

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?

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top