Autor Beitrag
K.S.M.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Windows 7 Professional
Delphi 2010, HTML, JavaScript, CSS, PHP, ein wenig C, Flash ActionScript 2.0/3.0, SQL, Assembler
BeitragVerfasst: Mo 17.09.07 15:17 
Hallo,
weiß jemand wie man in Delphi 7 visuelle Komponenten erstellen? Die man selber in das Programm einabuen kann? (Z. B. eigene ComboBoxen etc.)

Vielen Dank für Antworten! :)
Erichgue
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 86

Win XP/2000/7
TurboPacal 7.0; Delphi 2/5/7; BDS 2006/2010/XE6; C#; MSSQl 2000
BeitragVerfasst: Mo 17.09.07 15:21 
Titel: Was willste denn?
Hallo,
Was willst du denn genau?
Eine neue Komponente?
Eine bestehende erweitern?
Eine Komponente, die den Fokus erhalten kann?

Erich
K.S.M. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Windows 7 Professional
Delphi 2010, HTML, JavaScript, CSS, PHP, ein wenig C, Flash ActionScript 2.0/3.0, SQL, Assembler
BeitragVerfasst: Mo 17.09.07 15:24 
Ich möchte komplett neue visuelle Komponente erstellen. Vielleicht eine Art Button. Aber sie soll anders aussehen. Eigentlich will ich nur wissen, ob es einen "visuellen Komponenten-Editor" gibt oder eine andere Methode.
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mo 17.09.07 15:31 
Einen visuellen Komponenten-Editor im Stil von WYSIWYG gibts nicht. Aber man kann per Datei-Neu-Weitere: Komponente eine "Schablone" für eine neue Komponente erstellen. Da muss man dann zunächst den Vorfahrentyp angeben, und kann dann drauf los programmieren.

_________________
We are, we were and will not be.
Raffo
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 300



BeitragVerfasst: Mo 17.09.07 15:43 
Neue Kompos wandelt man IMMER von bereits bestehenden Kompos ab - und sei es von TComponent, dem sozusagen ROOT aller Komponenten.

Nichtsdestotroz geht man halt so vor, das man die GEMEINSAMSTEN Eigenschaften einer bereits bestehenden Komponente "für sich benutzt" und diverse Eigenschaften "überschreibt" oder "hinzufügt".

Im Falle Deiner TComboBox würde ich das ORIGINAL nehmen und dann peu a peu die Eigenschaften verändern bzw. neue Eigenschaften & Methoden hinzufügen.

Ein Tutorial zur Komponenten-Erstellung gibt es hier: www.dsdt.info/tutorials/tswitch/
K.S.M. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Windows 7 Professional
Delphi 2010, HTML, JavaScript, CSS, PHP, ein wenig C, Flash ActionScript 2.0/3.0, SQL, Assembler
BeitragVerfasst: Mo 17.09.07 16:00 
Danke für die Tipps. Ich werde sie jetzt direkt ausprobieren.

Mfg KSM