TIP: Click on subject to list as thread! ANSI
echo: delphi
to: STEVE ROGERS
from: JUD MCCRANIE
date: 1997-08-21 16:39:00
subject: RE: OBJECT INSP- SOURCE

 SR>   I'm missing something, I think. Can't you just write your subroutine
 SR>   and then put the call in the OnClick event?
Yes, and that is what I did initially.  However, it doesn't seem
very practical in the long run (especially for a big program)
because you have to make modifications, debug, etc.  In this
case, I had my subroutine ReadData called on FormCreate (I
think) and then later I wanted to call another subroutine right
after the call to ReadData.  As far as I can tell, you can't do
that in the OI.  So I had to remove ReadData from the OI, double
click to have it create a subroutine, and then add the call to
ReadData and the other subroutine there.
The point is that while this is not difficult to do, it seems
that it is better to go ahead and double click to create the
subroutine in the source code in the first place, so you can see
the explicit call to your subroutine.
Jud McCranie
 * Silver Xpress V4.3 SW20178
--- PCBoard (R) v15.3/M 5
---------------
* Origin: Riverdale, Ga (1:133/9024)

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™.