Autor Beitrag
toxicmaster
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 94



BeitragVerfasst: Sa 18.12.04 12:44 
hi,
1.habe eine frage, nämlich wie bekomme ich ein bild in einen button (das bild mit der tür aus delphi wenn man auf datei und dann beenden sich anschaut)


2.und die nächste frage ist wie kann ich eine message mit repeat immer wieder wiederholen lassen?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
procedure TForm1.Button1Click(Sender: TObject);
begin
repeat
showmessage('message')

until
end;


3. wie bekomme ich es hin, dass ich ein bild in ein formular einbinden kann so dass ich es wenn ich das programm starte ein bild in der mitte habe und unten etwas in einer memo zu stehen habe.
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Sa 18.12.04 12:58 
Allererstens: nur eine Frage pro Thread (wird dir sowieso gleich irgendein Mod sagen ;))

1.) BitBtn, SpeedButton
2.)
ausblenden Delphi-Quelltext
1:
2:
3:
4:
repeat
  ShowMessage('Bla');
until
  Abbruchbedingung;

3.) :? :?:

AXMD
Basti
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 345

Windows Vista
D2005 Pers, D7 Pers
BeitragVerfasst: Sa 18.12.04 14:11 
3.) Beim OnCreate des Formulars das Bild z.Bsp. auf das Canvas vom Formular zeichnen (Bitmap) oder du machst eine Image Komponente drauf.
Das Memo definierst du über Lines.Add auch im OnCreate vor.
OnCreate wird beim Erstellen des Formulars aufgerufen.

_________________
Der Computer ist die logische Weiterentwicklung des Menschen: Intelligenz ohne Moral.
toxicmaster Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 94



BeitragVerfasst: Sa 18.12.04 14:33 
danke erstmal für die antworten (werde beim nächsten mal nur eine frage pro thread stellen.)

was wäre denn z.b eine abbruchbedingung?
weil ich habe keine ahnung was eine abbruchbedingung sein könnte.
z.b 10 messages und dann kommen keine mehr oder wie?
was müpsste ich dann dahin schreiben?

und beim 3. hab ich das problem, dass ich nicht weiß wie ich nen bitmap aus dem gleichen ordner wie das projekt ist einfüge.
toxicmaster Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 94



BeitragVerfasst: Sa 18.12.04 14:35 
ach ja nochwas,
das mit dem bitbtn wusste ich ja aber wie krieg ich jetzt das bild in den button???
toxicmaster Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 94



BeitragVerfasst: Sa 18.12.04 14:40 
okay das mit dem repeat hab ich hinbekommen !!!! danke
darkdester
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 100



BeitragVerfasst: Sa 18.12.04 15:03 
links im menü unter glyph ;)
wulfskin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1349
Erhaltene Danke: 1

Win XP
D5 Pers (SSL), D2005 Pro, C, C#
BeitragVerfasst: Sa 18.12.04 15:12 
Hallo,

1) Eigenschaft Glyph.
3) Komponente TBitmap bei Zusätzliches, Eigenschaft Picture oder Methode Bitmap.Picture.LoadFromFile.

Gruß Hape!

_________________
Manche antworten um ihren Beitragszähler zu erhöhen, andere um zu Helfen.
toxicmaster Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 94



BeitragVerfasst: Sa 18.12.04 20:32 
danke an alle habe alles hinbekommen! :lol: