06-05-2010, 08:00 PM
إقتباس :اكتبه فوق
الأخ كاش واحد يقصد بهذه الطريقة تقريبا,
PHP كود :
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls;
type
TForm1 = class(TForm)
Timer1: TTimer;
procedure Timer1Timer(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
i : integer = 0;
implementation
{$R *.dfm}
procedure TForm1.Timer1Timer(Sender: TObject);
begin
if i = 10 then
begin
timer1.Enabled := false;
Showmessage('Timer now is False');
end
else
inc(i);
end;
end.
بالتوفيق,
فرّج همّ المهمومين يا الله
اللهم فك قيد اسرانا و اسرى المسلمين
اللهم فك قيد اسرانا و اسرى المسلمين


