Add Transparent forms - A simple solution


In his previous articles Serhiy Perevoznyk explained how to create transparent forms (used to good effect by Textpad ).

However from Delphi 6 there has been a simpler way as long as you want to make the entire form transparent, and not just a small portion of it.

This is done by using the AlphaBlend and AlphaBlendValue properties of a Form in your delphi application. Its very simple.

Set AlphaBlend to True on your form.

Set AlphaBlendValue to a value between 0 and 255. 0 makes the form invisible, 255 makes it look normal. Find the value you want, and run your application. Thats it.

Hope someone finds this useful.

ps. If you want to make only a portion of your form transparent, you'll need to go the api route.

Related Discussions
  • USING DLLS (2001-01-04 01:47:50)
    Hi again Goober ... :o) Let's take NETAPI32.DLL as an example. This DLL is created by Microsoft and the explanation of its use is described in...
  • HOW TO RUN DATABASE APPLICATION ON THE INTERNET (2017-06-09 10:54:22)
    Well, in design I think there is already an issue. Backend is more then just a database with which you connect. There should be a complete layer...
  • SENDING ICQ MSGS FROM DELPHI (2001-01-03 16:54:03)
    I tried the ICQ Api, but never used it. I've added a simple ICQPager component to delphipages (Winsock/TCPIP).. it might help... Q
  • HELP WITH EXCEPTIONS ..... I'M GETTING CRAZY! (2001-01-06 21:59:49)
    How to make it run as if you were running it outside of Delphi. Tools | Debugger Options --> Language Exceptions. Their is a checkbox titled...
  • REPEATING FUNCTIONS (2001-01-04 11:46:34)
    The OnIdle event is not hardware dependent. It is called when the program has idle time. The OnIdle event is in TApplication and is a warpper...
  • HOW TO FREE UP A QUICKREPORT COMPONENT IN MEMORY...? (2001-01-09 10:05:01)
    Use : Begin if RepForm=Nil then RepForm:=TRepForm.Create(Application); End;
  • .BMP ISN'T A VALID PICTURE FILE FORMAT!? UHUM!? (2001-01-05 16:59:28)
    I think you have to Specify what line the text is in, like this. Image1.Picture.LoadFromFile(Memo1.Lines.Strings); If the text in the...
  • PRINTING A PDF FORM (2001-01-07 05:57:11)
    Hello Tom, If you find a delphi solution to bypass the acrobat Printer i am very interrested. Actually i am printing a lot of invoice to the...
  • HOW DO I GET A TOOLBUTTON TO DISPLAY A PICTURE FROM AN IMAGELIST? (2001-01-06 10:30:31)
    Just change "ImageList" property of your toolbar, and "InmageIndex" property of your buttons...
  • TELEPHONE (2001-01-06 06:23:39)
    There is many component exist for this task. You can use for pratical solution. p.s. Eger ticarei bir sey yazıyorsanız ticari bir component...
Latest News
Submit News Form Past News
Latest Forum Entries