Solved one issue on this:

When starting to use Vista, I discovered that Form.DoubleBuffered := True seemed to better display the new aero. I found that line of code in the form create, removed it and now the weird painting over some components is now gone.

Still having black background icons come out as black and not transparent at runtime.

Any property setting that would do this? It has got to be something simple!

Thanks,

Chuck
Hello:

Recently upgraded from Delphi 2007 to Delphi XE2.

I had the expected issues with strings, especially in encryption routines, but the one issue that really surprised me was some weird screen painting issues in my program. I am not using the new theme styles.

1. All tool bar icons now have black backgrounds. Black used to be transparent. At design time they all look correct. This only occurs at runtime. This seems like a property setting that is different between 2007 and XE2. Any suggestions?

2. My mainform is rather large and has many components on it. On other forms there seems to be no problem with painting. What I am seeing is that for the fcProgressBar (Woll2Woll), the NextGrid (Berg), and the NextGrid Progress bar embedded in a grid, that screen painting will simply not paint the component. Instead it uses some other mainform section to paint the component. Each time I load the program the screen section used is different. The rest of the screen paints as expected. I have written to these component suppliers and they are not coming up with anything at this point.

I replaced the fcProgressBar and that replacement works fine. I tried TProgressBar, LMD, and JV progress bars and they all painted correctly.

Any ideas what may be going on here?

Thanks,

Chuck Belanger
_______________________________________________
Delphi mailing list
Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi


_______________________________________________
Delphi mailing list
Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to