Visual Basic Transparency!
2014-05-19, 05:22 PM,
#1
Hey Elites!
I want to make a custom form, and for that i use TransparencyKey in VB. But for example, when i set the background image to a black circle, and the background color to red, or any color, i get a little red or any colored border around my circle, when i run it. The form is okay, and it is transparent, but i get a little interpolation. Could you help me how to remove that?

[Image: gBrCoIK.png]

Thank you!

Best Regards,

MrHusky

[Image: Sig-e1402449184840.png]
Reply
2014-05-19, 05:50 PM,
(This post was last modified: 2014-05-19, 05:53 PM by CPAManager.)
#2
Is the Backgroundcolor and the Transparency Color the same? Try to set the both colours to pink, and check again.
Latest Thanks - View all

MrHusky(2014-05-19 06:19 PM) 
Reply
2014-05-19, 06:20 PM,
#3
(2014-05-19, 05:50 PM)CPAManager Wrote: Is the Backgroundcolor and the Transparency Color the same? Try to set the both colours to pink, and check again.

Hey!
Yes, they are the same! My app is working, it is the shape i wanted to be, and it is transparent, but i get this outline to it on every color.

[Image: Sig-e1402449184840.png]
Reply
2014-05-19, 07:39 PM,
#4
[Image: cRe8vll.png]

It is like this! On the right side , it's the project running!

[Image: Sig-e1402449184840.png]
Reply
2014-05-19, 07:42 PM,
#5
Select the form and set form.borderstyle to none instead or single or anything. I think that will fix it
Latest Thanks - View all

MrHusky(2014-05-19 07:45 PM) 

Join The Best Network Today And Earn REAL Money! The secret to success lies here.

[Image: jqE21u3.gif]
Reply
2014-05-19, 07:45 PM,
#6
(2014-05-19, 07:42 PM)Superhero99 Wrote: Select the form and set form.borderstyle to none instead or single or anything. I think that will fix it

I've had it on none already ! That just removed the outer boarder of the form, and the control buttons.

[Image: Sig-e1402449184840.png]
Reply
2014-05-19, 08:00 PM,
#7
U should have imported the image as the form background and then set the background color to transparent or white

Join The Best Network Today And Earn REAL Money! The secret to success lies here.

[Image: jqE21u3.gif]
Reply
2014-05-19, 08:08 PM,
#8
(2014-05-19, 08:00 PM)Superhero99 Wrote: U should have imported the image as the form background and then set the background color to transparent or white

Done that. When i try to set the form background to Transparent it says: "Control does not support transparent background colors."

I've tried to add an imagebox with the transparent picture, and add a background color to form, didn't work. I tried to add an imagebox with the image that has a background, didn't work. :S

[Image: Sig-e1402449184840.png]
Reply
2014-06-01, 08:52 PM,
#9
(2014-05-19, 05:50 PM)CPAManager Wrote: Is the Backgroundcolor and the Transparency Color the same? Try to set the both colours to pink, and check again.

Sorry for the bump but I am also interested in this question. Does anyone know how to remove that border? Thanks

Join The Best Network Today And Earn REAL Money! The secret to success lies here.

[Image: jqE21u3.gif]
Reply
2014-06-01, 09:10 PM,
#10
maybe you can set the transparency key to control

[Image: 4f3uTb7.gif]
Don't stare too much.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Visual studio/basic miamor 6 246 2017-03-07, 10:37 PM
Last Post: miamor
  Visual Basic Question Daenerys 2 287 2017-02-24, 10:52 PM
Last Post: imonambot
  CPAGrip MediaFire Locker Help! Basic Coding Skills f1rew1re 3 386 2017-02-05, 11:27 PM
Last Post: f1rew1re
  Visual Studio - Windows SmartScreen?! Adept 5 941 2016-03-11, 04:34 PM
Last Post: Adept
  Visual Studio - CPAgrip offers embedded in application Adept 5 741 2016-03-06, 10:31 PM
Last Post: Adept




About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top