By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,877 Members | 1,102 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,877 IT Pros & Developers. It's quick & easy.

windowless labels on VB.NET forms

P: n/a
Can a label control be created that is windowless?

(tank you Chris for the tip)

Tank you

Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
* "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.