Autor Beitrag
Killmag10
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 297

Suse Linux / DOS / Windows All In One ;)
D4 / D2005
BeitragVerfasst: Di 21.10.03 13:51 
Hi

Wie kann ich eigene Komponeten schreiben ?


Wehre nett wenn nehmand ein Ein beispiel schreiben könnte !

zb wie mann ein einfaches edit baut.

_________________
Mega-inkompetente Computer-ruinierende Organisation spioniert ohne funktionierende Technik
smiegel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 992
Erhaltene Danke: 1

WIN 7
D7 Prof., C#, RAD XE Prof.
BeitragVerfasst: Di 21.10.03 13:58 
Hallo,

im Delphi-Editor gibt es einen Menüpunkt, der heisst Hilfe. Wenn Du dort den Punkt "Delphi-Hilfe" auswählst, und dann im Inhalt auf den Eintrag "Komponenten erzeugen" gehst, wird Dir die Hilfe einiges zum Thema erzählen.

_________________
Gruß Smiegel
Ich weiß, daß ich nichts weiß, aber ich weiß mehr als die, die nicht wissen, daß sie nichts wissen. (Sokrates)
ErnestoChe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 528

Win 2000 pro, CRUX 2.0
Delphi 6 Pers, Open K3
BeitragVerfasst: Di 21.10.03 14:35 
Hi,

dazu sollte man fit in OOP (objektorientierte Programmierung) sein, denn Komponenten sind zunächst mal nur Klassen. Unter Delphi mit der Besonderheit, dass man sie zur Entwicklungszeit im Objektinspektor bearbeiten kann.

Also würd ich dir empfehlen zunächst mal einfache Klassen zu schreiben, um das Prinzip zu verstehen, sonst blickt man da nicht durch. Elementare Dinge wie z.B. Konstruktor / Destruktor, Klassenmethoden, Felder, Vererbung, Polymorphie, Kapselung.

Tutorials gibt es auf delphi-source.de.

MFG

- Ernesto -
G-man
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 258

Win 2000, Win ME, SuSE 8.2
D5 Standard, D6 Professional
BeitragVerfasst: Di 21.10.03 15:22 
Bei so grundlegenden Fragen kannst du auch in die Suche hier im Forum schauen.

_________________
...To err is human, but to really foul things up requires a computer.
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Mi 22.10.03 09:47 
Was OOP betrifft kannst du dir auch mal meine Ausarbeitung auf www.x-spy.net/personal anschaun...

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!