Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi Bitmap als Formular!! (https://www.delphipraxis.net/9124-bitmap-als-formular.html)

chris01 18. Sep 2003 15:32


Bitmap als Formular!!
 
Hi Leute!!

Ich habe bei Computer spielen gesehen, dass diese z.B. beim Starter des Spiels eine Figur haben!! Kann man also ein Bimap als Formular nehmen??

bye chris01

axelf98 18. Sep 2003 15:34

Re: Bitmap als Formular!!
 
Hmmm...
Form.borderstyle := bsnone; und dann das Image drauf bis zum Rand...
Das hat so ziemlich die gleiche Wirkung.

chris01 18. Sep 2003 15:39

Re: Bitmap als Formular!!
 
Aber ich möchte das Form nicht mehr sehen....

Matze 18. Sep 2003 15:40

Re: Bitmap als Formular!!
 
Das Formular sieht man dann nicht mehr! Nur das Bild.
Delphi-Quellcode:
Image.Align:=alClient;

Illuminator-23-5 18. Sep 2003 15:43

Re: Bitmap als Formular!!
 
oder:
form1.Color := clCyan; oder eine farbe die im bild nicht vorkommt
form1.TransparentColorValue := form1.Color;
form1.TransparentColor := true;

Dagon 18. Sep 2003 15:47

Re: Bitmap als Formular!!
 
@Illuminator-23-5: TransparentColor läuft aber nur auf Win 2000 oder höher!

flomei 18. Sep 2003 15:51

Re: Bitmap als Formular!!
 
:roll: Hier im Forum suchenRegion :roll:

MfG Florian :hi:

chris01 18. Sep 2003 16:44

Re: Bitmap als Formular!!
 
:wiejetzt:

Ich habe das mal probiert!! Doch bei mir sind die Buttons nicht mehr zushen!!

Matze 18. Sep 2003 17:14

Re: Bitmap als Formular!!
 
Ich weiß ja nicht, was du probiert hast. ;)

Aber, wenn du das mit der Transparenz gemacht hast, dann müssen die Buttons eine andere Farbe wie das Form haben.

chris01 25. Okt 2003 14:15

Re: Bitmap als Formular!!
 
Hi Leute,

Als ich heute dieses hier noch einmal machen wollte, fiel mir auf, dass das Bitmap dann auch Transparent für die Eingestellte Farbe wird, das ist logisch! Also gibt es eine Option, die nur das Form Transparent werden lässt?

Gruß Chris

citybreaker 25. Okt 2003 15:08

Re: Bitmap als Formular!!
 
Zitat:

Zitat von Illuminator-23-5
oder:
form1.Color := clCyan; oder eine farbe die im bild nicht vorkommt
form1.TransparentColorValue := form1.Color;
form1.TransparentColor := true;

Gibt es noch ne andere möglichkeit? Bei Delphi 3
kann man soweit ich weiß die Form nicht Transparent machen.

CalganX 25. Okt 2003 15:25

Re: Bitmap als Formular!!
 
Hi,
bei TMS Software gibt es eine Komponente namens TAdvShaper. Die sollte euer Problem lösen.

Chris

chris01 25. Okt 2003 16:12

Re: Bitmap als Formular!!
 
Da sind nur die dcu und bei der installation will er die .pas dateien! :(


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:25 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz