Autor Beitrag
Stefan S.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 184


D5
BeitragVerfasst: Do 31.03.05 11:40 
Also. Ich spiele mit einer MediaPlayer-Komponente ein Video ab. Angezeigt wird dieses auf einem Panel. Wenn das Video fertig abgespielt ist (das mach ich mit OnNotify), soll das Panel wieder "bereinigt" werden, weil sonst noch der letzte Frame des Videos draufbleibt. Wie mach ich das, dass der Panel wieder seine ursprüngliche Farbe annimmt? Mit "Refresh", "Repaint" und "Update" hab ich es schon versucht, alles nichts.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 01.04.05 13:56 
Hmm, DisplayPanel auf nil oder ein unsichtbares Element setzen?
Stefan S. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 184


D5
BeitragVerfasst: Mo 04.04.05 16:42 
Wie meinst du das jetzt?
ausblenden Delphi-Quelltext
1:
Panel.DisplayPanel := nil;					

oder wie? Das hab ich probiert, das geht nicht...

Moderiert von user profile iconraziel: Delphi-Tags hinzugefügt.