Jud McCranie mentioned this to Gary Weinfurther:
JM>>> First method I enter the name of my subroutine in the OI
JM>>> ShowForm event field.
JM>>> Second method double click on the OI ShowForm field and it will
JM>>> create the shell of a subroutine TForm1.ShowForm, and you can
JM>>> enter the call to your subroutine there.
GW>> These do the same thing. The second method merely allows you to name
GW>> the event handler yourself instead of using the default name.
JM> They accomplish the same thing in the final result, but they do
JM> not do the same thing. The 2nd one makes a small subroutine in
JM> the soure file and puts an explicit call to your subroutine in
JM> that subroutine. The first method doesn't do that.
Oh, I see. You're typing the name of an *existing* routine into the OI.
Have you tried typing the name of a non-existant routine?
...Gary
--- GoldED 2.41
---------------
* Origin: The Flying Circus BBS, Farmington Hills, MI. (1:2410/905)
|