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.
Better if it's cross platform.
Regards,

Mailing lists / lazarus / 2012-10
11 messages · 4 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
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.
Better if it's cross platform.
Regards,
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?
Cheers, A.
31.10.12, 4:46, Alberto Narduzzi ?????:
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
maybe I miss something, but couldn't you just create a PNG with only the "shadow",…
Alberto, how can I make a window transparent?.
31.10.12, 4:46, Alberto Narduzzi ?????: Some widgetsets (like windows) support windows…
Paul, I noted you implemented TCustomForm's.AlphaBlend property, is it possible to just alphablend part of the form?.
Alberto, how can I make a window transparent?. Leonardo M. Ram?…
Leonardo M. Ram? wroteAlberto, how can I make a window transparent?.
There's a suggestion here:
http://www.lazarus.freepascal.org/index.php/topic,18738.msg106055.html#msg106055
Paul, I noted you implemented TCustomForm's.AlphaBlend property, is it possible to just…
That's what I meant.
Cheers, A.
Paul, I noted you implemented TCustomForm's.AlphaBlend property, is it possible to just alphablend part of the form?.
Alberto Narduzzi wroteThat's what I meant. Cheers, A.
Alberto, the problem is with alphablending all elements of the form, including the PNG image, become transparent.
Paul, I noted you implemented TCustomForm's.AlphaBlend property, is it possible to just…
31.10.12, 7:21, Leonardo M. Ram? ?????:
Paul, I noted you implemented TCustomForm's.AlphaBlend property, is it possible to just alphablend part of the form?.
No, this is not supported. You can only mask a part of the form.
Best regards,
Paul Ishenin
You meant, you CAN'T only mask a part of the form, right?.
Leonardo M. Ram? wroteYou meant, you CAN'T only mask a part of the form, right?.
You can. But this not the same as to make it semi transparent, right?
Best regards,
Paul Ishenin