Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Detrox,
28. Okt 2009
Hier mal der Code mit du weist was ich meine:
procedure TForm1.BitBtn1Click(Sender: TObject);
var
Nickbild:TImage;
begin
Nickbild:= TImage.Create(self);
Nickbild.Parent := Form1;
Nickbild.picture.LoadFromFile('taler.gif');
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Detrox,
28. Okt 2009
Die Procedur timer ..
kennt aber Nickbild noch nicht !
verstehst du?
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Detrox,
28. Okt 2009
Ich hätte da noch eine Frage:
Da das Bild erst zur Laufzeit erzeugt wird, kann ich diesem ja nichts zuweisen.
Also ich erstelle das Bild mit dem Namen "test" zur Laufzeit:
Nickbild:= TImage.Create(self);
Nickbild.name:='geher';
Nickbild.show;
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Detrox,
28. Okt 2009
Hi,
Ich hab ein kleines Problem,
Ich erzeuge ein Image zur Laufzeit.
wie kann ich diesem ein onemousedown Ereignis zuweisen?
LG