Recent

Author Topic: Form AlphaBlending support on different platforms  (Read 1092 times)

ps

  • Full Member
  • ***
  • Posts: 136
    • CSS
Form AlphaBlending support on different platforms
« on: July 18, 2018, 04:10:59 pm »
Form AlphaBlending is supported on Windows/Linux/Mac, but when I set form parent to another form, alphablending is lost on Linux and Mac.
So my question is: It's widgeset problem (missing implementation) or platform support(Linux and MacOS)?

eg.: (working only on windows as expected)

Code: Pascal  [Select][+][-]
  1. var
  2.   frm: TForm2;
  3. begin
  4.   frm := TForm2.Create(Application);
  5.   frm.BorderStyle:=bsnone;
  6.   frm.Align:= alClient;
  7.   frm.AlphaBlend:=true;
  8.   frm.AlphaBlendValue:= 200;
  9.   frm.Parent := Panel1;
  10.   frm.Show;
  11. end;  
Small simple CSS/box model implementation: https://github.com/pst2d/csscontrols/tree/dev

 

TinyPortal © 2005-2018