Forum > Graphics

Transparant forms RPI3

(1/1)

pascalbythree:
Does anybody have example code to transparant your form? like alpha blend

Working with  LAZARUS v.2.2.0 and FPC 3.2.0

Cross compiling from WIN32 to Raspberry3 BullsEye

Greetz, Wouter van Wegen

Dzandaa:
Hi,

I don't know if this is what you want, but in the Form properties, you have 2 parameters:

AlphaBlend
AlphaBlendValue

If you set AlphaBlend to True and AlphaBlendValue to 128 for example, your form and all tools inside it would be semi transparent.

B->

MarkMLl:
General point if I may. Be very cautious of the RPi's homegrown window manager (i.e. desktop environment), since it appears to omit passing various hints, metrics and "understood relations" to the widget set.

I've got a very unpleasant situation trying to run (somebody else's) app on an RPi, while running fine on a PC it's unusable on an RPi unless the screen is something like 1920x1200 and in the end I had to get a tiny 4K display which resulted in unreadable text.

Needless to say all involved parties disclaimed responsibility.

MarkMLl

Navigation

[0] Message Index

Go to full version