BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Transparent window / alignment / bug?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using
View previous topic :: View next topic  
Author Message
Jorrit Jongma
Guest





PostPosted: Thu Nov 27, 2003 1:42 am    Post subject: Transparent window / alignment / bug? Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.