|
-
Aug 27th, 2007, 06:02 AM
#1
Thread Starter
Hyperactive Member
Set diferent opacity to a color.
I've done a little Notepad clone with VB2003
It works great. Now, what I want to do is to set different opacity to my text area (is a richtextbox object), which should be seted on runtime by a trackbar.
I want it to be just like this picture, setting the background area but not any of the text typed.
http://ez.no/var/ezno/storage/images..._ini_files.png
Can I do this?
I thought that I could set the richtextbox background color to a "almost" white (RGB:254,254,254), to be more simple to detect the area that I want to set a different opacity.
Thank you.
-
Aug 27th, 2007, 06:08 AM
#2
-
Aug 27th, 2007, 06:33 AM
#3
Thread Starter
Hyperactive Member
Re: Set diferent opacity to a color.
Very appreciated but this is not what I'm trying to do.
VB2003 permit doing this without using API but using the form property "TransparencyKey".
I'm talking about setting opacity and not transparency. I would like to set opacity, for instance, to 60%. Transparency only permits opacity equal to 0% or 100%.
Thank you.
-
Aug 27th, 2007, 06:36 AM
#4
-
Aug 27th, 2007, 06:42 AM
#5
Thread Starter
Hyperactive Member
Re: Set diferent opacity to a color.
I've also posted this at the .Net forum and I thought that it would be better to post this at the API forum, because .net2003 does not have any capability to do what I want.
Sorry for any misunderstood.
Thank you.
-
Aug 27th, 2007, 06:44 AM
#6
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|