Thursday, 3 June 2010

Birthday Greetings.....




procedure TfrmBirthday.FromClick(Sender: TObject);

var
SpecialDay : TEvent;
begin
frmBirthday.Caption := 'It's just a greeting!';
for SpecialDay := Birthday Greeting do
begin
if SpecialDay = Birthday then
begin
ShowMessage('Dear Zhen, May this day bring to you all things that make you smile. Happy Birthday !!! Regards from, Agnes.');
end;
end;




2 comments:

  1. Thanks, look like u use it what u learn :), Zhen

    ReplyDelete
  2. @Zhen
    you're welcome...
    hahaha... im trying to write out something, hope the coding is correct...

    ReplyDelete