Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi Problem mit PaintBox.Visible := FALSE (https://www.delphipraxis.net/4996-problem-mit-paintbox-visible-%3D-false.html)

SagitariusA 19. Mai 2003 20:32


Problem mit PaintBox.Visible := FALSE
 
:oops:
Hallo!

Ich habe öfters folgendes Problem:

1. Ich setze eine bestehende PaintBox.Visible := FALSE.
2. Dann zeichne ich etwas in den so freigegeben Breich einer Form
oder einer anderen PaintBox
3. Das Gezeichnete verschwindet allerdings, bzw. wird nicht sichtbar.
4. Der Fehler läßt sich beheben, wenn ich nach Visible:= FALSE eine
kleine Pause einbaue. Das klappt bei Windows98, doch ich vermute, es
wird bei anderen Windows-Versionen nicht klappen.

Frage:
Wie erreiche ich es, dass Visible:= FALSE bei PaintBox sofort und 100%ig
funktioniert?

Wie immer neugierig auf die Antwort.

SagitariusA

Mirilin 24. Mai 2003 18:56

Ich stell mal diesen Link hinein...
Falls jemand mal hierdrauf stösst.

Gruss Mirilin


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:55 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz