Rob wrote:
Op dinsdag 23 mei 2006 20:23, schreef John Meyer:
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


Okay, let me make this a little clearer.

>>    if btnTestMeClick.tag=0 then


This is the line that is causing the error.

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

Reply via email to