Re: does FormClose have some special magic?



In article <43182D21.7353EE87@xxxxxxxxxxxxxx>, john.p@xxxxxxxxxxxxxx
says...
> Ante Smolcic wrote:
> >
> > > You should edit your DPR file so it looks like this:
> >
> > As a rule, you shouldn't mess with your DPR file.
>
> I think that warning should concern only not to manually touch the Uses
> section. If you try to add for instance your comments to the Uses
> section, they will be erased the next time Delphi adds or removes Units
> from the DPR file again.
>
> But in general, I think it is quite safe place to write your own code in
> the DPR unit. At least I have kept some localization related code
> snippets in most of my DPR files for about a decade or so.
>
> It is even possible to write complete commans line application using the
> DPR file only, without any other Units or Forms, there should be some
> Borland examples about this too.
> John P

Wow, you don't say!

All I can say is that suggesting mangling with the DPR to someone not
that expirienced is not a very good idea.

It can be perfectly achieved without the DPR code changes.


--
Out... for... a... walk... bitch.
.



Relevant Pages