468,734 Members | 2,298 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,734 developers. It's quick & easy.

windowless labels on VB.NET forms

Can a label control be created that is windowless?

(tank you Chris for the tip)

Tank you

Nov 20 '05 #1
3 1402
I'm not thinking, but try setting the background of a form to blue or
something, and setting the forms transparency key to blue, or whatever.
This will give the impression that the label is it's own form :)

HTH
Tibby
"Peter" <pc****@spc.sapec.pt> wrote in message
news:06****************************@phx.gbl...
Can a label control be created that is windowless?

(tank you Chris for the tip)

Tank you

Nov 20 '05 #2
Hi Peter,

I answered this in your original thread but I'll move it here.

Yes. You would associate the LiteLabel with an underlying surface and it
would draw itself thereon. Several LiteLabels could thus share the same
surface. (Make it a Graphics and it needn't even be visible - do it memory on
a Bitmap!).

Many problems with this and that to be solved, of course, not least being
how to allow the user to manage these at Design-time.
Do you need to set these up visually on the Form or is it possible to do
it in code?
What properties would you need to be adjustable - Size, Text Colour and
what else? Would you need different Fonts or the same one for all? Etc.

Regards,
Fergus
Nov 20 '05 #3
* "Peter" <pc****@spc.sapec.pt> scripsit:
Can a label control be created that is windowless?

(tank you Chris for the tip)


No. The Windows Forms label control is not a windowless control.

--
Herfried K. Wagner
MVP VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by ECVerify.com | last post: by
2 posts views Thread by guy | last post: by
2 posts views Thread by FelixLeung | last post: by
9 posts views Thread by Homer J. Simpson | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.