Autor Beitrag
DanyLux
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 55

Win 2000, WinXP SP2
D7 Ent
BeitragVerfasst: So 16.03.03 13:43 
Hallo ich wollt mal wissen op mann die Icon von selbst erstellten Component aender kann. Die man in der Component-Bar sieht???

_________________
MfG aus Luxemburg
derDoc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 623

Win Vista Prof
D2007 Prof
BeitragVerfasst: So 16.03.03 14:35 
Gehe in den Bildeitor und erstelle eine neue Bitmap, die du dann in dem Verzeichnis, in dem sich deine Unit befindet, als Unitname.dcr speicherst. Den Rest macht Delphi von selbst.

_________________
MfG derDoc
There are only 10 types of people: those who understand binary and those who don't.
DanyLux Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 55

Win 2000, WinXP SP2
D7 Ent
BeitragVerfasst: So 16.03.03 23:14 
Hy
Ich hab das mal gemacht aber es funktioniert nicht gib es villeivht ein Grund???

_________________
MfG aus Luxemburg
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: So 16.03.03 23:56 
Hallo,

das Bitmap muss den Namen der Komponente haben.

Gruß
Klabautermann
DanyLux Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 55

Win 2000, WinXP SP2
D7 Ent
BeitragVerfasst: Mo 17.03.03 16:27 
D.h heisst nicht der untit sondern der komponent selbst zB meine Komponent nennt sich TFunLabel muss die Bitmap TFunLabel.dcr gennant werden???

_________________
MfG aus Luxemburg
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Mo 17.03.03 16:32 
Nein,

die Datei muss Unitname.dct heißen.
Das Bitmap in der Datei muss den Namen der Koponente haben.
So wie eine Unit mehrere Komponenten enthalten kann kann auch eine DCR Datei mehrere Bitmaps enthalten.

Gruß
Klabautermann
DanyLux Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 55

Win 2000, WinXP SP2
D7 Ent
BeitragVerfasst: Mo 17.03.03 16:45 
:shock: OHHH jetzt wird aber kompliziert denn ich versteh nur noch bahnhof :))
Kann mir jemand es jetzt schritt fuer schritt erklaeren mit mehren komponenten danke.

:oops:

_________________
MfG aus Luxemburg
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Mo 17.03.03 17:04 
Ja ;).

Gruß
Klabautermann
DanyLux Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 55

Win 2000, WinXP SP2
D7 Ent
BeitragVerfasst: Mo 17.03.03 18:06 
Mann klappt immer noch nicht???
wie kann man hier ein bild uploaden damit ich zeigen kann wie ich es gemacht habe???


Ok hier sieht euch an wie ich es gemacht habe sag mir was falsch ist:
Dany.homeunix.com/Delphi/

wenn die nicht funktioniert bitte diese nhemen :)
webplaza.pt.lu/gilgomes/Komponent.zip

_________________
MfG aus Luxemburg