Autor Beitrag
whitef
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 202
Erhaltene Danke: 1

Windows X
Delphi XE X
BeitragVerfasst: Sa 30.06.07 12:11 
hi,

ich wollte gerne eine form erzeugen, die wie mein bild aussieht. Also besser gesagt, ich will einfach die Form unsichtbar machen und mein bild einfügen lassen. Das bild soll zu 100% sichtbar sein und die Form zu 100% unsichtbar.
Hab auch shcon die Suchfunktion genutzt, allerdings nicht unbedingt schlauer geworden.

Mit Alphablend wird ja alles was auf der Form ist transparenter und mit dem Programm GabesOddForm funktioniert es auch nicht. der skaliert mein bild total falsch herum (nimmt nur den rand als form, und sonst passt das ganze auch net. GabesOddForm is halt nur was für einfache bilder ohne großen farbunterschiede.


kann mir dabei jemand helfen?


mfg
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: Sa 30.06.07 12:20 
Beantworte doch erst mal deine anderen Threads, mit deiner Einstellung wirst Du hier nicht viel Freunde finden.
Tutorials, Tutorials, Tutorials und ein bischen Eigenbemühung könnte auch nicht schaden !!!

_________________
Blackheart666
Der Irrsinn ist bei Einzelnen etwas Seltenes, - aber bei Gruppen, Parteien, Völkern, Zeiten die Regel. (Friedrich Nietzsche)
whitef Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 202
Erhaltene Danke: 1

Windows X
Delphi XE X
BeitragVerfasst: Sa 30.06.07 12:27 
das mit der eigenbemühung.. mh ich weiss halt einfach nicht mehr weiter. hab gegoogelt, forum durchsucht... joa... kein plan halt!
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Sa 30.06.07 12:36 
such dir ne ganz hässliche und außsergewöhnliche farbe, nimm diese als Form TransparentColor und setze Form Transparent auf true. dann sieht man nur das bild. wenn dein bild jedoch die selbe farben verwendet wie transparentcolor dann musst du die Farbe verändern.

lg elundril
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: Sa 30.06.07 12:39 
user profile iconelundril hat folgendes geschrieben:
such dir ne ganz hässliche und außsergewöhnliche farbe, nimm diese als Form TransparentColor und setze Form Transparent auf true. dann sieht man nur das bild. wenn dein bild jedoch die selbe farben verwendet wie transparentcolor dann musst du die Farbe verändern.

lg elundril


Suchst Du vieleicht clFuchsia, die wird meistens dafür verwendet. :wink:

_________________
Blackheart666
Der Irrsinn ist bei Einzelnen etwas Seltenes, - aber bei Gruppen, Parteien, Völkern, Zeiten die Regel. (Friedrich Nietzsche)
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Sa 30.06.07 12:46 
is ja auch hässlich die farbe oder?? :lol:

lg elundril
whitef Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 202
Erhaltene Danke: 1

Windows X
Delphi XE X
BeitragVerfasst: Sa 30.06.07 12:53 
hehe,

hab jetzt diese clOlive genommen... ich mag keine Oliven ;)

super hat wunderbar geklappt!

Problem nun, mein bild ist rechteckig. Mit Photoshop hab ich den hintergrund vom bild transparent gemacht. Allerdings beim starten meines programms, wird das weas eigentlich vom bild her schon transparent sein soll, weiß angezeigt.

Wisst ihr woran das liegt?

(ich glaube ich geb das programmieren langsam auf... hehe)
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Sa 30.06.07 13:13 
was für ein format is es denn?

lg elundril
whitef Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 202
Erhaltene Danke: 1

Windows X
Delphi XE X
BeitragVerfasst: Sa 30.06.07 13:22 
jpg, diese hab ich mittels JvImage gebunden von JVCL.
Gif hab ich auch schon probiert. im Windows Explorer sieht das Bild auch gut aus, allerdings wenn ich diese gif datei dann im delphi einfüge, sieht das voll gagga aus...
whitef Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 202
Erhaltene Danke: 1

Windows X
Delphi XE X
BeitragVerfasst: Sa 30.06.07 13:26 
ah... mir is was aufgefallen, ich hatte die eigenschaft vom bild transparent auf true. Das war ja ganz okay so, als ich es auf false machte, wurde das bild wieder ganz normal angezeit, allerdings halt mit dem weißen hintergrund.
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Sa 30.06.07 13:28 
d.h. es is jetzt alles so wie du es willst??

lg elundril
whitef Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 202
Erhaltene Danke: 1

Windows X
Delphi XE X
BeitragVerfasst: Sa 30.06.07 13:39 
nein,
das bild hab ich nun als gif-datei.
wenn die eigenschaft transparent auf true is, dann erhalte ich alles so wie ich will allerdings, sieht das bild dann so aus, als wären zuwenig farben vorhanden, wie wenn du bei deinen monitoreigenschaften auf 256 farben einstellst.

wenn ich allerdings die eigenschaft transparent auf false mache, dann ist das bild nicht mehr transparent, aber das bild wird mir mit den richtigen farben angezeigt.
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Sa 30.06.07 13:44 
zeig mal dein Bild her. und ein paar screenshots bitte! ganz lieb danke!

lg elundril
whitef Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 202
Erhaltene Danke: 1

Windows X
Delphi XE X
BeitragVerfasst: Sa 30.06.07 14:08 
so anbei mal beide varianten.

hab mir auch gedacht das es vlt. an der farbe liegt das die form unsichtbar macht... aba nix da, hab schon 5 diverse farben ausprobiert, immer das gleiche!


mfg
Einloggen, um Attachments anzusehen!
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Sa 30.06.07 14:17 
probier mal die bilder als jpg. wenns nicht geht das nimm vl. png. dazu brauchst du die unit pngimage.

lg elundril
whitef Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 202
Erhaltene Danke: 1

Windows X
Delphi XE X
BeitragVerfasst: Sa 30.06.07 19:09 
png image finde ich leider nicht in delphi. das einigst brauchbare gab mir google:
www.delphifans.com/S...ew/SoftView_507.html

aber äh, kann diese sprache nicht ;)
bin auch net sicher ob ich des testen soll
whitef Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 202
Erhaltene Danke: 1

Windows X
Delphi XE X
BeitragVerfasst: Sa 30.06.07 19:13 
haha.. es klappt ich hab einfach die folgende endung in photoshop wie auch dann beim delphi genommen: *.pcx

THX @ all!!!!


:CLOSED: