Undeclared Identifier
Posted: 16 Aug 2019 9:37
Thomas,
Re the error, it was in the automatic code for a dialog box. (The box was quite small with four controls: text; edit; OK; Cancel).
Last night I recalled that I had reduced the size of the dialog window to more closely relate to the size of the dialogs. So I went back and enlarged the dialog window.
The problem went away. (And I do not have a screenshot of the error and code). Sorry.
However, today I tried to repeat the error and I can't. Even after making the dialog box quite small the problem does not happen.
Attached you will find a text copy of the relevant code as it exists today.
My question is why did the error yesterday refer to the setRect line as setRect/5 when the code today only has 4 arguments?.
I will do better next time if I have an automatic code error.
Regards,
Loffy
Re the error, it was in the automatic code for a dialog box. (The box was quite small with four controls: text; edit; OK; Cancel).
Last night I recalled that I had reduced the size of the dialog window to more closely relate to the size of the dialogs. So I went back and enlarged the dialog window.
The problem went away. (And I do not have a screenshot of the error and code). Sorry.
However, today I tried to repeat the error and I can't. Even after making the dialog box quite small the problem does not happen.
Attached you will find a text copy of the relevant code as it exists today.
My question is why did the error yesterday refer to the setRect line as setRect/5 when the code today only has 4 arguments?.
I will do better next time if I have an automatic code error.
Regards,
Loffy