Und wie soll ich das Anstellen?
Folgende Schleife existiert bereits:
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20:
| FOR x:=1 TO 10 DO BEGIN Top:=Top+31; Left:=50; for y:=1 to 10 do begin newshp[x][y]:=tshape.Create(form1); newshp[x][y].Parent:=form1; newshp[x][y].Height:=height; newshp[x][y].Width:=width; newshp[x][y].Left:=left; left:=left+31; newshp[x][y].Top:=Top; end; END; |
Doch wenn ich newshp[x][y].onmousedown(...)
benutze habe ich keine Ahnung, welche Parameter ich
übergeben soll und wo ich die Behandlungsrotine einzufügen
habe.
Bitte schreibt mir Codebeispiele.
Danke im Voraus.
Moderiert von
raziel: Delphi-Tags hinzugefügt