Recent

Author Topic: [SOLVED]: Transparent dialog box in carbon  (Read 9407 times)

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
[SOLVED]: Transparent dialog box in carbon
« on: February 16, 2010, 09:37:27 pm »
Is there an efficient way to make a dialog box transparent in the carbon widget set?
« Last Edit: February 11, 2012, 07:46:47 am by jwdietrich »
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Transparent dialog box in carbon
« Reply #1 on: February 26, 2010, 06:44:14 am »
could you give a sample of the "transparent dialog box"?

in SVN LAzarus version each Form has AlphaBlend value. You can use it, since some LCL dialogs ARE forms.

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
Re: Transparent dialog box in carbon
« Reply #2 on: August 16, 2011, 08:44:55 pm »
could you give a sample of the "transparent dialog box"?

in SVN LAzarus version each Form has AlphaBlend value. You can use it, since some LCL dialogs ARE forms.

Great, it works in Lazarus 0.9.30. Thanks for the hint!
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

 

TinyPortal © 2005-2018