Erdianto

Belajar Ilmu Komputer dan Teknologi Opensource

Pemrograman Delphi V-6.0

Posted by bemk4mpus On November - 15 - 2010

Membuat Form Nilai Mahasiswa Menggunakan ListBox
images3List Program…………..

unit Unit2;

interface

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Grids;

type
TForm2 = class(TForm)
GroupBox1: TGroupBox;
ComboBox1: TComboBox;
Edit1: TEdit;
Edit2: TEdit;
ComboBox2: TComboBox;
Button1: TButton;
SG: TStringGrid;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label6: TLabel;
Label7: TLabel;
Button2: TButton;
Button3: TButton;
Label4: TLabel;
Edit3: TEdit;
Edit4: TEdit;
Edit5: TEdit;
procedure Button1Click(Sender: TObject);
procedure Button2Click(Sender: TObject);

procedure FormCreate(Sender: TObject);
procedure ComboBox1Change(Sender: TObject);
procedure Button3Click(Sender: TObject);

private
{ Private declarations }
public
{ Public declarations }
end;

var
Form2: TForm2;

implementation

{$R *.dfm}

procedure TForm2.Button1Click(Sender: TObject);
var n,s,b,m,gt:currency;
i:integer;
begin
if combobox2.Text =” then
begin
showmessage(’Inputkan Nilai !’);
combobox2.SetFocus;
exit;
images52
Kalau mau lebih lengkap download ja ke sini..

Share and Enjoy:
  • Facebook
  • Google
  • Print this article!
  • TwitThis
  • Furl
  • Live

About Me

There is something about me..

Twitter

    Photos

    Activate the Flickrss plugin to see the image thumbnails!