Transparent Label is here...
NOTE: I have not spent any time fine tuning it or making it foolproof at all.
I'm posting it in the codebank...http://www.vbforums.com/showthread.p...23#post1956523
Printable View
Transparent Label is here...
NOTE: I have not spent any time fine tuning it or making it foolproof at all.
I'm posting it in the codebank...http://www.vbforums.com/showthread.p...23#post1956523
Bump
thx wossname, that will help many of the forum members.
tons of people have been looking for a control like this
good work :thumb:
hehe cool
the TEXT property doesnt show up in the property window in design time though. I tried applying Browsable() to it but it didnt do anything
Wossy, did you read my post in codebank on this?
I am adding to your control as I type. This could be like open source since you were so kind to post it for us.
I will post my changes today hopefully. I am giving it design time capabilities among a couple of other things. :D
This is sooo cool! A few more bug fixes and I will post an update in CodeBank to wossy's thread!
Guess I have leanred allot while trying to develop my user control. :D
Sneak peak....
RobDogg...
Does your version have jaggie text??
:confused:
Ok, I added AntiAlias SmoothingMode for the text. Its much better now, no jaggie text. :D
I want to add autosize code to the label so it adjusts down to the text, but not finished yet.
Anyone have any requests before I post?
What background does it antialias with? It can't be the form underneath because the "silhouetted" control region prevents it. Do you get a jaggy grey halo aroudn the text? Screenshot would be cool, or just post the code.Quote:
Originally Posted by RobDog888
I was just comparing the differences and I was wrong. I can admit it :(
The AntiAliasing is not supported by text drawn using the graphicspath object.
I dont have enough time to get into the autosize code so I am just adding the comments to the code that I added/removed.
I suppose I should I post the attachment in CodeBank in your thread wossy?
I posted the updated/modified project to wossname's CodeBank thread.
How does it look?
Anyone have any ideas on how to apply AntiAliasing (prevents jaggie text :D) to the graphicspath text? Its unsupported
so I think we need another way to achieve transparency?
The thing about this implementation is, its like cutting the text out of a piece of paper, using the curves of the letters as your guide. But you can only get as near as 1 pixel either side of the text. Without taking into consideration what is directly beneath the label, there is no way to antialias it.Quote:
Originally Posted by RobDog888
Its probably quicker to use the backcolor to color the text then you wouldnt need to draw the text itself.
I'll look into it later.