Hello,
I'm using Delphi 6.0 Personal for my programming project at school. The goal is to create a small RPG.
The problem is today I tried to set a label caption from a procedure which looks like this...
procedure name(value1,value2,value3:integer);
begin
label.caption:='text';
end;
Now that gave me an error stating that label was an unknown identifier. I know what the problem is, but do not know a solution to it. How do I change the properties of that label from that style of a procedure. Also that procedure is called from a button click event and after doing several tasks, including changing several labels, calls another procedure.
Thanks in advance.
I'm using Delphi 6.0 Personal for my programming project at school. The goal is to create a small RPG.
The problem is today I tried to set a label caption from a procedure which looks like this...
procedure name(value1,value2,value3:integer);
begin
label.caption:='text';
end;
Now that gave me an error stating that label was an unknown identifier. I know what the problem is, but do not know a solution to it. How do I change the properties of that label from that style of a procedure. Also that procedure is called from a button click event and after doing several tasks, including changing several labels, calls another procedure.
Thanks in advance.