Transparent message box lazarus / 31-LCL ---------------------------------------------------------------------- Fred vS · 2011-08-16 21:20 Hello everybody. In a topic : http://forum.lazarus.freepascal.org/index.php/topic,8653.0.html It seems that messagedlgpos could be transparent. But if i write : messagedlgpos.alphablend := true i get a error message: How can i have a transparent message box ? Thanks ---------------------------------------------------------------------- Blaazen · 2011-08-16 21:33 I don't know what is messagedlgpos (how it is declared). In the thread is written that TForm can be transparent (but I think that it is not fully cross-platform, at least here on Qt it doesn't work) and only some LCL dialogs are forms. ---------------------------------------------------------------------- Elmug · 2011-08-17 00:47 Quote from: Fred vS on August 16, 2011, 11:20:22 pmHello everybody. In a topic : http://forum.lazarus.freepascal.org/index.php/topic,8653.0.html It seams that messagedlgpos could be transparent. But if i write : messagedlgpos.alphablend := true i get a error message: How can i have a transparent message box ? Thanks Hi Fred, If you want a transparent message, you could use a TLabel. In the Object Inspector, in the property Color, of the TLabel, selecting ClNone makes the message displayed transparent. The font color can be anything. Actually, I seem to recall that ClNone is the default. ---------------------------------------------------------------------- Fred vS · 2011-08-17 21:12 Hello Mr Elmug QuoteIf you want a transparent message, you could use a TLabel. Hum, i do not understand, a TLabel insteed of Messagedlgpos ? Do you mean a TLabel on a Tpanel ? But Tpanel have not alphablend property  Thanks PS: Mr Blaazen i mean Messagedlg or Messagedlgpos ---------------------------------------------------------------------- Blaazen · 2011-08-17 21:56 But Messagedlg or Messagedlgpos are just functions. You can still design your own dialog. (New Form, button OK, button Cancel etc...) BTW Transparency for froms does not work here on QT. ---------------------------------------------------------------------- Fred vS · 2011-08-17 22:03 QuoteBTW Transparency for froms does not work here on QT. Hum, with miXimum compiled with Qt, at loading, i have a beautifull transparent form who becomes "solid" after 3 seconds (a timer change the alphablend value from 255 to 0)... https://sites.google.com/site/fiensprototyping/ It is working, on my Acer One, with Lazarus 10.10 and 11.04 (other versions not tested)...