[Lazarus] Splash window with drop shadow

Leonardo M. Ramé l.rame at griensu.com
Wed Oct 31 00:21:49 CET 2012


On 2012-10-31 06:41:40 +0800, Paul Ishenin wrote:
> 31.10.12, 4:46, Alberto Narduzzi пишет:
> >>Hi, I'm wondering if there's a way to create an splash screen (a
> >>borderless window) with a drop shadow, I'm thinking of something like
> >>showing a PNG with shadow on screen, but without its background window.
> >
> >maybe I miss something, but couldn't you just create a PNG with only the
> >"shadow", alpha-something; make the borderless window slightly bigger
> >and transparent where the shaow is, and just drop the PNG onto it?
> 
> Some widgetsets (like windows) support windows with shadows and this
> is even used in LCL for hint window. But there is no option
> available in LCL for this and there is no cross platform way I
> believe.
> 
> Best regards,
> Paul Ishenin
> 
> --

Paul, I noted you implemented TCustomForm's.AlphaBlend property, is it
possible to just alphablend part of the form?.
-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com




More information about the Lazarus mailing list