 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jorrit Jongma Guest
|
Posted: Thu Nov 27, 2003 1:42 am Post subject: Transparent window / alignment / bug? |
|
|
Hi there,
I can't get transparency to work properly in Delphi 7 (on WinXP) using the
TransparentColor(Value) settings. Resizing/moving components on the form
doesn't work properly, parts of the screen go transparent that shouldn't. I
can't explain it better than this, so I'll just post the instructions for
reproducing it:
- New Application
- Form.Color = clMaroon
- Form.TransparentColor = True
- Form.TransparentColorValue = clMaroon
- Form.Height = 500
- Place 3 panels on the form:
--- PanelX.Height = 100
--- PanelX.Align = alTop
- Place a button with Top = 0 on every panel, for each make an onClick
handler that switches size of that panel between 25 and 100.
- Run, and press the buttons, and see if anything weird happens. Looks
pretty garbled over here, the buttons become totally transparent! The
resizing works as long as you don't also move the panels.
Anyone know what's going on here and how it can be fixed ?
TiA
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|