TIP: Click on subject to list as thread! ANSI
echo: delphi
to: JUD MCCRANIE
from: GARY WEINFURTHER
date: 1997-08-14 08:22:00
subject: OBJECT INSP- SOURCE

Jud McCranie mentioned this to Gary Weinfurther:
 JM> It would be nice if there was a way to make Delphi
 JM> move the call to your subroutine to the source code, rather than
 JM> you having to remove it in the OI, double click, and add it
 JM> manually.
Event handlers that are entered via the Object Inspector *are* in the source 
code.  It's only the assignments of those to events that are kept in the form 
file.  You can easily set those yourself in code:
   Edit1.OnKeyPress := MyKeyPressEvent;
But why would you want to do this all the time?  It's nice to have the 
flexibility to do it in code if you need to, and not if you don't.
                                ...Gary
--- GoldED 2.41
---------------
* Origin: The Flying Circus BBS, Farmington Hills, MI, USA. (1:2410/905)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.