aplikasi array dalam input data dan permasalahan matematika2

58
Daftar Menu Cover Log In Menu Audio Players Data Mahasiswa Permasalaha n Matematika Kalkulator Deret Aritmatika Geometri Volume & Luas Permukaan Kubus Balok Bola Persamaan Kuadrat Faktorial Konversi Suhu Exit

Upload: fiant-syarifudin

Post on 27-Nov-2014

110 views

Category:

Documents


0 download

DESCRIPTION

Terima Kasih saya ucapkan Kepada Pa Tedi dan Pa Deddy

TRANSCRIPT

1. Form Cover

Var FormCover: TFormCover; a:integer; implementation uses U_Password; {$R *.dfm} procedure TFormCover.Timer1Timer(Sender: TObject); begin Label10.Caption:='Pukul '+Timetostr(Now); Label11.Caption:='Tanggal '+Datetostr(Now); if ProgressBarCover.Position = 100 then begin Timer1.Enabled:=False; FormCover.Hide; formPassword.show; end else begin ProgressBarCover.Position :=ProgressBarCover.Position + 5; end; end; procedure TFormCover.Timer2Timer(Sender: TObject); begin a:=a+1;

if a=1 then label1.visible:=true; if a=2 then label2.Visible:=true; if a=3 then label3.Visible:=true; if a=4 then label4.Visible:=true; if a=5 then label5.Visible:=true; if a=6 then label6.Visible:=true; if a=7 then imageStkip.Visible:=true; if a=8 then label7.Visible:=true; if a=9 then label8.Visible:=true; if a=10 then label9.Visible:=true; if a=11 then begin label1.visible:=false; label2.visible:=false; label3.visible:=false; label4.visible:=false; label5.visible:=false; label6.visible:=false; imageStkip.visible:=false; label7.visible:=false; label8.visible:=false; label9.visible:=false; a:=0; end; end;

2.FORM PASSWORD

label1.visible:=true; label1.visible:=true; if a=2 then label2.Visible:=true; if a=3 then label3.Visible:=tru label3.Visible:=tru if a=4 then label4.Visible:=true; if a=5 then label5.Visible:=true; label5.Visible:=true; if a=6 then label6.Visible:=true; if a=8 then label7.Visible:=true; label7.Visible:=true; if a=9 then label8.Visible:=true; if a=10 then label9.Visible:=true; label9.Visible:=true; procedure if a=11 then TFormMenu.Timer1Timer label10.Visible:=true; (Sender: TObject); if a=12 then begin label11.Visible:=true; label11.Visible:=true; a:=a+1; if a=13 then if a=1 then label12.Visible:=true; 3. FORM MENU

if a=14 then label13.Visible:=true; label13.Visible:=true; if a=15 then label14.Visible:=true; if a=16 then label15.Visible:=true; label15.Visible:=true; if a=17 then label16.Visible:=true; if a=18 then label17.Visible:=true; label17.Visible:=true; if a=19 then image1.Visible:=true; if a=20 then image2.Visible:=true; image2.Visible:=true; if a=21 then image3.Visible:=true; if a=22 then image4.Visible:=true; image4.Visible:=true; if a=23 then image5.Visible:=true; if a=24 then

begin label1.visible:=false; label2.visible:=false; label3.visible:=false; label4.visible:=false; label5.visible:=false; label6.visible:=false; label7.visible:=false; label8.visible:=false; label9.visible:=false; label10.visible:=false; label11.visible:=false; label12.visible:=false; label13.visible:=false;

label14.visible:=false; label15.visible:=false; label16.visible:=false; label17.visible:=false; image1.Visible:=false; image2.Visible:=false; image3.Visible:=false; image4.Visible:=false; image5.Visible:=false; a:=0; end;

4.FORM AUDIO PLAYERSprocedure TFormAudioPlayers.Button1Click(Sender: TObject); begin OpenDialog1.Execute; VideoPlayer.FileName:=OpenDialog1.FileName; VideoPlayer.Open; Timer2.Enabled:=true; end; procedure TFormAudioPlayers.FileListBox1Click(Sender: TObject); begin AudioPlayer.FileName:=FileListBox1.FileName; AudioPlayer.Open; Label3.Caption:=FileListBox1.FileName; AudioBar.Max:=AudioPlayer.Length; end;

procedure TFormAudioPlayers.FileListBox1DblClick(Sen der: TObject); begin AudioPlayer.FileName:=FileListbox1.FileName; AudioPlayer.Open; Label3.Caption:=FileListBox1.FileName; AudioBar.Max:=AudioPlayer.Length; AudioPlayer.Play; AudioPlayer.Next; AudioPlayer.Previous; end; procedure TFormAudioPlayers.SpeedButton1Click(Send er: TObject); begin Paudio.Visible:=SpeedButton1.Down; end; procedure TFormAudioPlayers.SpeedButton2Click(Send er: TObject); begin vaudio.Visible:=SpeedButton1.Down; end;

procedure image1.Left:=label3.Left TFormAudioPlayers.Ti -1; mer1Timer(Sender: end; TObject); procedure begin TFormAudioPlayers.Ti if label3.left