/dev/mach

Still alive...

Pazar, Ekim 15, 2006

Turbo Delphi Express'e Component Eklemek (!)

http://beeography.wordpress.com/2006/09/12/just-wanna-let-you-know/ adresinde bir amca Turbo Delphi Explorer'a nasıl component eklenebileceğini anlatmış. TDE'de bir paketin içine compoenent ekleyebiliyorsunuz lakin yeni bir component paketi kuramıyorsunuz. Yazıda da dendiği gibi : Borland'ın aslında söylemek istediği "yeni component paketi" ekleyemediğiniz.

Not : Şayet TDE'yi son günlerde indirdiyseniz http://rapidshare.de/files/34091825/dclusr.zip.html adresinden paketi indirip delphi dizinine açmanız gerekebilir.

...
1- Declare your component within dclusr.dpk (within /lib folder of your Turbo Delphi installation) which is a Delphi’s default package to store custom components.

2- Compile the package, and Delphi will produce the package library (.bpl extension) in BPL output directory, of course if the compilation is success.
3- Install the package library (dclusr.bpl) through Install Packages menu item, as usual. Yes, Delphi will accept to install this package!


...

requires
rtl,
vcl,
designide;

contains
Gauges in ‘..\source\Win32\Samples\Source\Gauges.pas’;

end.
...