Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 20th November 2011
JagoVB JagoVB is offline
Ceriwiser
 
Join Date: Nov 2011
Posts: 508
Rep Power: 14
JagoVB mempunyai hidup yang Normal
Default Delphi Programming.. {Help Please}

gan tolong masukannya dong,,codingan ane ini dimana salahnya yaa?? klo buat di menu yg pertama ane mau nampilin form2 trus menu yg kedua ane mau nampilin form3


Code:

unit Unit1;

interface

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

type
TForm1 = class(TForm)
MainMenu1: TMainMenu;
timer1: TMenuItem;
font1: TMenuItem;
procedure timer1Click(Sender: TObject);
procedure font1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;

var
Form1: TForm1;
Form2:


{$R *.dfm}

procedure TForm1.timer1Click(Sender: TObject);
begin
Form2.show;
end;

procedure TForm1.font1Click(Sender: TObject);
begin
Form3.show;
end;

end.





Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


 


All times are GMT +7. The time now is 02:51 AM.


no new posts