Autor Beitrag
sibbe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 50

WIN XP Prof
D7 Prof
BeitragVerfasst: Do 11.03.04 21:27 
servus!

wie der titel es schon sagt, möchte ich einem Button, der zur laufzeit erstellt wird, ein ereignis zuweisen (onclick).
den button erstell ich so:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
var but1: TButton;
.
.
.
but1:=TButton.Create(self);
with but1 do
 begin
  Parent := panel1;
  Left := 3;
  Top := a;
end;
.
.
.


wär schön wenn mir wer helfen könnte..
danke schonmal im voraus

sibbe


Zuletzt bearbeitet von sibbe am Do 11.03.04 21:40, insgesamt 1-mal bearbeitet
toms
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1099
Erhaltene Danke: 2



BeitragVerfasst: Do 11.03.04 21:31 
Servus,

Schaust du mal hier:
www.delphi-forum.de/...ght=button+dynamisch
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Do 11.03.04 21:32 
Hallo

oben rechts ist ein kleines Knöpfchen : Suchen, ein ähnliches Thema ist erst 2 Tage alt.
Suche in: Delphi-Forum, Delphi-Library BUTTON LAUFZEIT EREIGNIS

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
sibbe Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 50

WIN XP Prof
D7 Prof
BeitragVerfasst: Do 11.03.04 21:36 
hmm jo danke

hab wohl nach den falschen begriffen gesucht... :oops:

sibbe