1 Replies - 3805 Views - Last Post: 29 May 2012 - 06:51 AM Rate Topic: -----

#1 mika yastriana  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 28-May 12

delphi programming

Posted 28 May 2012 - 10:34 PM

hi i'm mika yastriana,i'm new in delphi programming..
i have a trouble
can anyone help me ,please :sad2:
procedure Tf_laporan.periodeClick(Sender: TObject);

begin

   if periode.ItemIndex=0 then
    begin
      input_waktu.Format:='dd/M/yyyy';
      statictext1.Caption:=' &Tanggal :';
      input_waktu.Enabled:=true;
     end;

   if periode.ItemIndex=1 then
     begin
       input_waktu.Format:='M/yyyy';
       statictext1.Caption:=' &Bulan  :';
       input_waktu.Enabled:=true;
       end;

  if periode.ItemIndex=2 then
      begin
        input_waktu.Format:='yyyy';
        statictext1.Caption:= '&Tahun :';
        input_waktu.Enabled:=true;
      end;

end;

[Error] m_laporan.pas(96): Statement expected but 'PROCEDURE' found

This post has been edited by modi123_1: 29 May 2012 - 06:49 AM
Reason for edit:: highlight the lines THEN click the code tags button in the 'format text' box of the post.


Is This A Good Question/Topic? 0
  • +

Replies To: delphi programming

#2 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6066
  • View blog
  • Posts: 23,526
  • Joined: 23-August 08

Re: delphi programming

Posted 29 May 2012 - 06:51 AM

Maybe if you told us what line 96 is?

I'm guessing you're actually missing something on the line BEFORE 96, based on the error message.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1