Not sure if this applies for your case, but when I wrote the ATClock
(transparent analogue clock) I used a form with no borders, the form colour set
to be white, white set to be transparent (Alphablend about 80-120) and put some
shapes of a different colour where I wanted partial transparency. (form
TransparentColor and TransparentColorValue properties). Result - the square
form totally disappears.
(I also set the form to be moveable by dragging on any non-transparent part,
and did the hands using just canvas draw - and to my pleasant surprise dragging
on the hands also could drag the clock too).
This works D2006 and D2007, and runs fine on XP and later.
I am guessing you could do something like this by setting the colour of the
panel appropriately. Looks like TPanel does not have these properties, but it
does have a ParentColor property, so you may be able to do something by
cleverly setting the parent form properties.
John
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
unsubscribe