Home > Back-end >  Delphi compiler error
Delphi compiler error

Time:09-27

Written in Delphi SPComm serial ports, compile [Error] Unit1. Pas (70) : Undeclared identifier: 'Check1' this Error, no definition,
As shown in figure: how to define, give advice or comments please, thank you

CodePudding user response:

checkbox1

CodePudding user response:

Error to tell you: in Unit1. Pas unit, does not define identification character: 'Check1'

Here 'Check1' should be TCheckbox controls, the default identifier for the "CheckBox1"

It seems that you are copying other code:
(1) will be the choice of control on the graph, the Name changed to "CheckBox1"
(2) in unit1. Pas' Check1 'instead of "CheckBox1"

CodePudding user response:

Thank you very much, beginners Delphi don't understand, thought it was' Check1 'not defined, is the control of the identifier is wrong, can't literally change the control name, thank you for your help,
  • Related