buat procedure dengan parameter sama dengan property event object anda:

procedure procKeyPress(Sender: TObject; var Key: Char);
begin

end;

isi property Onkeypress dari object anda saat runtime:

objectsaya.onkeypress := procKeyPress;



  ----- Original Message ----- 
  From: Erwin Sunaryo 
  To: [EMAIL PROTECTED] 
  Sent: Wednesday, October 22, 2003 11:07 AM
  Subject: [Delphindo] Event saat runtime


  Delphier,

  untuk membuat event  onkeypress pada sebuah objek yang dibuat saat runtime
  gimana yach?
  Best Regards

  Erwin
  ========================
  >


        Yahoo! Groups Sponsor 
              ADVERTISEMENT
             
       
       

  Berlangganan: [EMAIL PROTECTED]
  Stop Berlangganan: [EMAIL PROTECTED]
  Keluhan Milis(Unbouncing,spam,dll): [EMAIL PROTECTED] 

  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



[Non-text portions of this message have been removed]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/i7folB/TM
---------------------------------------------------------------------~->

Berlangganan: [EMAIL PROTECTED]
Stop Berlangganan: [EMAIL PROTECTED]
Keluhan Milis(Unbouncing,spam,dll): [EMAIL PROTECTED] 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


Kirim email ke