#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Posts
    4
    Rep Power
    0

    Making background transparent


    Hi everyone.

    I created a style for a program but the problem is the background keeps appearing as black once I run the program.

    imageshack.us/a/img266/9409/bgtg.jpg

    I'm trying to make the background : TRectangle to transparent so it won't show the black background..

    Does anyone know how I can do this?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jan 2006
    Location
    Carlsbad, CA
    Posts
    2,057
    Rep Power
    383
    Have you tried?:

    myRectangle.Fill := bkNone;
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Posts
    4
    Rep Power
    0
    Originally Posted by clivew
    Have you tried?:

    myRectangle.Fill := bkNone;
    Where would i put that code?
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jan 2006
    Location
    Carlsbad, CA
    Posts
    2,057
    Rep Power
    383
    Where would i put that code?
    Wherever you want it to become transparent.
    If you want it to always be transparent then I would imagine as soon as you create it.

    Clive

IMN logo majestic logo threadwatch logo seochat tools logo