Autor Beitrag
urbanchaos Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Win xp
Delphi 2005 Pers./7 enterprise
BeitragVerfasst: Do 30.11.06 13:55 
naja ich les mir den link, den du mir gegeben hast durch! kann aber sein, dass ich bald back komme und neue uestions aske!^^
Danny W.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 296

Windows XP, WIN 2000
Delphi 2005 PE
BeitragVerfasst: Do 30.11.06 13:57 
nimm dir auch bitte nocheinmal meinen letzten post zu herzen...

btw. @monster: Danke für den Link, das schau ich mir auch gerne nochmal an, versteh von canvas nämlich nich sonderlich viel :)

mfG,
Danny

_________________
"Ich find den Fehler nicht. Der Artist wird immer als "Syntax Error" gezeigt :("
"Ach verdammt, der Artist heißt wirklich "Syntax Error" xD"
urbanchaos Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Win xp
Delphi 2005 Pers./7 enterprise
BeitragVerfasst: Sa 02.12.06 10:01 
so hab mir alles mal halbwegs durchgelesen und ein kleines programm erstellt, indem ein kreis von links nach rechts geht!
macht der kreis auch, aber so schnell, dasss man es nicht sieht!^^
wie kann ich das etwas verzögern?????
Leuchtturm
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Sa 02.12.06 10:23 
Mit sleep(1000) wartet das Programm eine Sekunde. In der einen Sekunde kann man aber nichts machen :wink:
Leuchtturm

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
urbanchaos Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Win xp
Delphi 2005 Pers./7 enterprise
BeitragVerfasst: Sa 02.12.06 10:44 
jo big danke!^^ :wink: :D
urbanchaos Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Win xp
Delphi 2005 Pers./7 enterprise
BeitragVerfasst: So 03.12.06 09:13 
so hab nochmal ne funktionen frage:
wie kan ich denn eine kurve zeichenen???
mit lineto kann man doch nur graden zeichnen oder muss man da in den parametern etwas umstellen???
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: So 03.12.06 12:09 
mit einer Polybezierkurve kann man kurven erstellen. steht im übrigen im dsdt Canvas tutorial drin! ;-)

lg el

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
urbanchaos Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Win xp
Delphi 2005 Pers./7 enterprise
BeitragVerfasst: So 03.12.06 14:20 
und wie ist der befehl????
polyline????
urbanchaos Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Win xp
Delphi 2005 Pers./7 enterprise
BeitragVerfasst: So 03.12.06 17:26 
naja egal! ich hab dir kurve jetzt hinbekommen!^^
hab noch ne andere Frage:
Warum kann ich bei canvas kein array verwenden????
da kommt jedesmal ein fehler!
Leuchtturm
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: So 03.12.06 17:36 
ausblenden Delphi-Quelltext
1:
x: array[1..4] of TCanvas					

oder
ausblenden Delphi-Quelltext
1:
x: array of TCanvas					

:wink:

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.


Zuletzt bearbeitet von Leuchtturm am So 03.12.06 17:39, insgesamt 2-mal bearbeitet
Jetstream
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 222



BeitragVerfasst: So 03.12.06 17:36 
Ich würde nicht den sleep-Befehl verwenden, sondern die Animation in eine Timer-Komponente einbauen.
Da kann man dann über das Attribut "Interval" die Geschwindigkeit regeln.

_________________
Die folgenden Klangbeispiele sind Ergänzungen zum methodischen Aufbau der Textbeilage und dürfen nicht losgelöst von dieser behandelt werden.
Leuchtturm
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: So 03.12.06 17:40 
user profile iconJetstream hat folgendes geschrieben:
Ich würde nicht den sleep-Befehl verwenden, sondern die Animation in eine Timer-Komponente einbauen.
Da kann man dann über das Attribut "Interval" die Geschwindigkeit regeln.


Mir viel der sleep-Befehl gerade so ein. :wink: Außerdem habe ich was gegen Timer :nixweiss:

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
urbanchaos Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Win xp
Delphi 2005 Pers./7 enterprise
BeitragVerfasst: So 03.12.06 17:42 
user profile iconLeuchtturm hat folgendes geschrieben:
ausblenden Delphi-Quelltext
1:
x: array[1..4] of TCanvas					

oder
ausblenden Delphi-Quelltext
1:
x: array of TCanvas					

:wink:

ok ich test das gleich mal! und dort dürfen dann zahlen und strings rein oder nur zahlen oder wie????


user profile iconJetstream hat folgendes geschrieben:
Ich würde nicht den sleep-Befehl verwenden, sondern die Animation in eine Timer-Komponente einbauen.
Da kann man dann über das Attribut "Interval" die Geschwindigkeit regeln.

naja mit dem sleep-befehl gehts grade! wenn ich noch zeit und lust habe, wenn ich mit dem ganzen zeugs fertig bin komm ich dann nochmal darauf zurück aber das dauert noch :D trotzdem danke!
Leuchtturm
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: So 03.12.06 17:46 
user profile iconurbanchaos hat folgendes geschrieben:
user profile iconLeuchtturm hat folgendes geschrieben:
ausblenden Delphi-Quelltext
1:
x: array[1..4] of TCanvas					

oder
ausblenden Delphi-Quelltext
1:
x: array of TCanvas					

:wink:

ok ich test das gleich mal! und dort dürfen dann zahlen und strings rein oder nur zahlen oder wie????

Dort dürfen nur Objekte vom Typ TCanvas rein, wenn du Zahlen machen willst dann musst du x: array of Integer; das machen
Strings:
ausblenden Delphi-Quelltext
1:
x: Array of String;					

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
urbanchaos Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Win xp
Delphi 2005 Pers./7 enterprise
BeitragVerfasst: So 03.12.06 17:54 
user profile iconLeuchtturm hat folgendes geschrieben:
user profile iconurbanchaos hat folgendes geschrieben:
user profile iconLeuchtturm hat folgendes geschrieben:
ausblenden Delphi-Quelltext
1:
x: array[1..4] of TCanvas					

oder
ausblenden Delphi-Quelltext
1:
x: array of TCanvas					

:wink:

ok ich test das gleich mal! und dort dürfen dann zahlen und strings rein oder nur zahlen oder wie????

Dort dürfen nur Objekte vom Typ TCanvas rein, wenn du Zahlen machen willst dann musst du x: array of Integer; das machen
Strings:
ausblenden Delphi-Quelltext
1:
x: Array of String;					

naja array of integer hab ich ja gemacht! und wenn ich versuche dort was reinzuschreiben kommt ein fehler mit irgendeiner activesteuerung oder so!
Leuchtturm
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: So 03.12.06 17:56 
Zeige nochmal ein klein wenig Code :!:

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
urbanchaos Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Win xp
Delphi 2005 Pers./7 enterprise
BeitragVerfasst: So 03.12.06 17:58 
ok:


ist vllt an manchen stellen etwas sinnlos, aber bin ja noch am anfang!^^

ach ops! hab ja alle arrays rausgehaun!^^
ich editiere glei nochmal!^^

so jetzte! ist net viel aber kommt der gleiche fehler
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
procedure TForm1.button1Click(Sender: TObject);
var
koox: array of integer;
begin

koox[1] := 100;


end;
Leuchtturm
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: So 03.12.06 18:04 
Bei mir kommt da "bloß" ne einfache Exception

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
urbanchaos Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Win xp
Delphi 2005 Pers./7 enterprise
BeitragVerfasst: So 03.12.06 18:05 
bei mir kommt da ne fehlermeldung wegen sctive steuerung und ob ich fortfahren will(wobei sich das prog beendet, aber der PC hängt sich nicht auf) und bei abbrechen kann ich dann fast alle programme, die ich offen habe schließen)
Leuchtturm
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: So 03.12.06 18:10 
benutze malkoox: array[0..5] of Integer//statt 5 musst du deine höchst Zahl einsetzten, auch Variablen möglich :wink:

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.