0% found this document useful (0 votes)
528 views29 pages

Tutorial Delphi 7

This document discusses the Delphi 7.0 integrated development environment. It describes the main interface elements including the menu bar, speed bar, object inspector, component palette, and form. It also demonstrates how to create a new project with a form and unit, add components to the form, set component properties and events, run and test the program, and complete exercises to practice basic Delphi skills.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
528 views29 pages

Tutorial Delphi 7

This document discusses the Delphi 7.0 integrated development environment. It describes the main interface elements including the menu bar, speed bar, object inspector, component palette, and form. It also demonstrates how to create a new project with a form and unit, add components to the form, set component properties and events, run and test the program, and complete exercises to practice basic Delphi skills.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 29

Pemrograman Delphi 7.

Oleh:
Fikri Alami, S.T., M.Sc.

Special Software Center (SSC) – Puskom UNILA


Integrated Development Einveronment (IDE) – Delphi 7.0

Speed Bar
Object Inspector
Menu Bar

Form
Component Pellete

Edit Windows

Special Software Center (SSC) – Puskom UNILA


Componen Pellete

ComboBox
MainMenu Button
ScrollBar
PopupMenu
CheckBox GroupBox

Label RadioButton
RadioGroup

Edit ListBox

Panel
Memo

Special Software Center (SSC) – Puskom UNILA


Object Inspector-Properties

Label1.Caption:=‘SAYA’

Label1.Color:=clBlue;

Edit1.Text:=‘DELPHI’

Memo1.Lines.Add(‘SAYA’)

Special Software Center (SSC) – Puskom UNILA


Object Inspector-Event

procedure TForm1.Button1Click(Sender: TObject);


begin
Label1.Caption:=‘SAYA’
Label1.Color:=clBlue;
Edit1.Text:=‘Delphi’;
Memo1.Lines.Add(‘SAYA’);
end;

Special Software Center (SSC) – Puskom UNILA


Form

Special Software Center (SSC) – Puskom UNILA


Unit
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TForm1 = class(TForm)
MainMenu1: TMainMenu;
PopupMenu1: TPopupMenu;
Label1: TLabel;
Edit1: TEdit;
Button1: TButton;
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;

implementation
{$R *.dfm}
end.

Special Software Center (SSC) – Puskom UNILA


Memulai File Baru

Muncul Form & Unit Kosong

Special Software Center (SSC) – Puskom UNILA


Menyimpan Project

File.pas (File unit)


File.dpr (File Prog. Utama)
File.dfm (File komponen)

Special Software Center (SSC) – Puskom UNILA


Menjalankan Program

Program dieksekusi untuk dilihat


Apakah ada
Kesalahan-kesalahannya atau
tidak

Special Software Center (SSC) – Puskom UNILA


Melihat Daftar Form yg ada

Special Software Center (SSC) – Puskom UNILA


Melihat Daftar Unit yg ada

Special Software Center (SSC) – Puskom UNILA


Latihan - Latihan
Latihan - 1

(FORM INPUT) (FORM OUTPUT)


Latihan – 2

(FORM INPUT) (FORM OUTPUT)


Latihan - 3

(FORM OUTPUT)
Latihan – 4

Klik 2X
Latihan - 5

Klik 2x
Latihan – 6

Klik ini sampai


muncul Kotak dialog
Picture Editor
Latihan – 7

(Form Input) (Form Output)


Latihan – 8

(Form Input) (Form Output)


Latihan – 9

(Form Input) (Form Output)


Latihan – 10

(Form Input) (Form Output)


Latihan – 11

(Form Input) (Form Output)


Latihan – 12

(Form Input) (Form Output)


Latihan – 13

(Form Output)
Latihan – 14

(Form Input)

(Form Output)
Latihan – 15

(Form Input) (Form Output)


SELESAI

Special Software Center (SSC) – Puskom UNILA

You might also like