Re: Failure of new procedures



Rudy Velthuis [TeamB] wrote:
M.J.Hutchings wrote:

I am unable to add to my Delphi 7 projects because
any new procedures do not work. For example,
an existing buttonclick procedure works but an
exactly similar new procedure does not. Running
to the cursor makes clear that the procedure is
not being invoked when the button is clicked.
Can anyone suggest, please, what has gone wrong
and what I should do about it?

Could it be that what you are editing and what is actually compiled are
not the same source? Try to remove any existing .dcus in the entire
search path and do a full rebuild. Also be sure that you are actually
editing the source that was added to the project. <g>



To add to what Rudy said..

Also check the "event fields" that you edit in the object inspector in case it somehow got clobbered... ;-)

And make sure you are not editing an old project in some other directory that you "think" is this new project... but may actually be referencing a unit 1 from some other folder.
.


Quantcast