begin
  if btnTestMeClick.tag=0 then
     begin
          btnTestMeClick.Caption:='Click me Again';
          btnTestMeClick.tag:=1;
     end else
     begin
          btnTestMeClick.Caption;='Click';
          btnTestMeClick.tag:=0;
     end

end;


On the if line, I'm getting this error:

unit1.pas(32,6) Error: Wrong number of parameters specified


This is copied almost word for word from the wiki tutorial.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to