Pemrograman Delphi 7.0

22 downloads 222 Views 621KB Size Report
Integrated Development Einveronment (IDE) –. D elphi 7.0. Menu Bar. Form. Edit Window s. Component P ellete. Speed Bar. Object In sp ector. Special Software ...
Special Software Center (SSC) – Puskom UNILA

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

Oleh:

Pemrograman Delphi 7.0

Speed Bar

Edit Windows

Form

Menu Bar

Component Pellete

Special Software Center (SSC) – Puskom UNILA

Object Inspector

Integrated Development Einveronment (IDE) – Delphi 7.0

Memo

ListBox Panel

RadioGroup

GroupBox

ScrollBar

ComboBox

RadioButton

CheckBox

Button

Special Software Center (SSC) – Puskom UNILA

Edit

Label

PopupMenu

MainMenu

Componen Pellete

Special Software Center (SSC) – Puskom UNILA

Memo1.Lines.Add(‘SAYA’)

Edit1.Text:=‘DELPHI’

Label1.Color:=clBlue;

Label1.Caption:=‘SAYA’

Object Inspector-Properties

Special Software Center (SSC) – Puskom UNILA

end;

Memo1.Lines.Add(‘SAYA’);

Edit1.Text:=‘Delphi’;

Label1.Color:=clBlue;

Label1.Caption:=‘SAYA’

begin

procedure TForm1.Button1Click(Sender: TObject);

Object Inspector-Event

Special Software Center (SSC) – Puskom UNILA

Form

Controls, Forms,

Special Software Center (SSC) – Puskom UNILA

end.

{$R *.dfm}

implementation

Form1: TForm1;

var

end;

{ Public declarations }

public

{ Private declarations }

private

Button1: TButton;

Edit1: TEdit;

Label1: TLabel;

PopupMenu1: TPopupMenu;

MainMenu1: TMainMenu;

TForm1 = class(TForm)

type

Dialogs;

Windows, Messages, SysUtils, Variants, Classes, Graphics,

uses

interface

unit Unit1;

Unit

Special Software Center (SSC) – Puskom UNILA

Muncul Form & Unit Kosong

Memulai File Baru

Special Software Center (SSC) – Puskom UNILA

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

Menyimpan Project

Special Software Center (SSC) – Puskom UNILA

Program dieksekusi untuk dilihat Apakah ada Kesalahan-kesalahannya atau tidak

Menjalankan Program

Special Software Center (SSC) – Puskom UNILA

Melihat Daftar Form yg ada

Special Software Center (SSC) – Puskom UNILA

Melihat Daftar Unit yg ada

Latihan - Latihan

(FORM INPUT)

Latihan - 1

(FORM OUTPUT)

(FORM INPUT)

Latihan – 2

(FORM OUTPUT)

(FORM OUTPUT)

Latihan - 3

Klik 2X

Latihan – 4

Klik 2x

Latihan - 5

Latihan – 6

Klik ini sampai muncul Kotak dialog Picture Editor

(Form Input)

Latihan – 7

(Form Output)

(Form Input)

Latihan – 8

(Form Output)

(Form Input)

Latihan – 9

(Form Output)

(Form Input)

Latihan – 10

(Form Output)

(Form Input)

Latihan – 11

(Form Output)

(Form Input)

Latihan – 12

(Form Output)

(Form Output)

Latihan – 13

(Form Output)

(Form Input)

Latihan – 14

(Form Input)

Latihan – 15

(Form Output)

Special Software Center (SSC) – Puskom UNILA

SELESAI