Take your pick of how you do it. Depends on your requirements.
Method A) - Suitable for a single project.
Copy the VCL source file to your project directory, make your changes. Just
becomes another unit in your project. This always works and always uses the
copy of the unit in your project directory.
Method B).
Create another directory with all your changed VCL source code. Adjust your
IDE paths etc so that this directory appears before the other directories.
Method C).
Change the VCL source in place, and adjust your environment paths
(Debug/Library/Browse/search) to include the VCL source code.
It is normally very useful to keep the original VCL source, as patches
always look for this to modify. SO it makes methods A & B better from this
point of view.
When you say use Debug DCU's, all this does is add the path
$(DELPHI)\Lib\Debug to the front of your library path. You can if you want
to update the debug DCU's it's up to you.
Myles.
> -----Original Message-----
> From: Neven MacEwan [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, June 28, 2000 10:49 AM
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: Thanks Carl
>
> So Myles
>
> Being a virgin in this area - do you just alter the pas and compile? or
> is there some process to keep the lib and lib\debug dcu's updated
>
> Regards
> Neven
>
> ----- Original Message -----
> From: Myles Penlington <[EMAIL PROTECTED]>
> To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
> Sent: Wednesday, 28 June 2000 09:17
> Subject: RE: [DUG]: Thanks Carl
>
>
> > That's why we have to change the VCL source all the time ...
> >
> > I actually put in a bug request about one of these a couple of years
> ago,
> > and yep in the next release it went from private to protected.
> >
> > Myles.
> >
> > > -----Original Message-----
> > > From: Neven MacEwan [SMTP:[EMAIL PROTECTED]]
> > > Sent: Wednesday, June 28, 2000 10:21 AM
> > > To: Multiple recipients of list delphi
> > > Subject: [DUG]: Thanks Carl
> > >
> > > Thanks Carl
> > >
> > > You put me on the right track - a csDesigning conditioned call reset
> the
> > > mask
> > >
> > > Just as an aside The TFieldDataLink is a globally used component but
> > > TDBEdit
> > > uses FModified - a private
> > > variable the B#$%**
> > >
> > > You would think that is the VCL coders had to make direct reference to
> a
> > > private variable they could at least write
> > > a function to access it
> > >
> > > Regards Neven
> > > N.K. MacEwan B.E. E&E
> > > [EMAIL PROTECTED]
> > >
> >
> >
> --------------------------------------------------------------------------
> > > -
> > > New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> > > Website: http://www.delphi.org.nz
> >
> --------------------------------------------------------------------------
> -
> > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> > Website: http://www.delphi.org.nz
> >
>
> --------------------------------------------------------------------------
> -
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz