Autor Beitrag
Kroni
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 720

Win 98, Win ME, Win2k, Win XP
D3 Pro
BeitragVerfasst: So 24.10.04 19:35 
Warum zeichnet Canvas keine Line oder sonstiges auf mein Form, wenn es in der OnCreate-Prozedur steht...ich möchte eigentlich, dass danns chon zu beginn, wenn das Formular Created wird, also direkt zu beginn der Anwendung eine Zeichnung entsteht.
Warum zeigt Canvas das nicht an?
BZW welche andere Prozedur kommt in frage?
Ich habe schon fast alle durch, und es funktioniert nicht!
Gruß, Kroni
Edit: Sorry....hätte das lieber in Grafik schrieben sollen...Bitte Verschieben!
Sorry
Maweki
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 197

Ubuntu Linux
Lazarus
BeitragVerfasst: So 24.10.04 19:37 
das Problem ist, dass du zeichnest, wenn die Form nur erstellt und noch nich angezeigt wird. Jetzt wird die Form beim anzeigen neu gezeichnet und damit auch das Canvas. Zack is der INhalt weg...
Kroni Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 720

Win 98, Win ME, Win2k, Win XP
D3 Pro
BeitragVerfasst: So 24.10.04 19:40 
ja dann müsste es doch mit Form1.Show funktionieren...
Aber das funktioniert auch nicht....
Kroni Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 720

Win 98, Win ME, Win2k, Win XP
D3 Pro
BeitragVerfasst: So 24.10.04 19:41 
ok, habs gefunden....on paint funktioniert....
Danke für die Antwort....
Kroni