New to .Net..

G

Guest

Have dev experience in VB6, and EVB, but I'm very new to VS.Net.. I'm sure
I'll have more questions later, but for now I just have one that's been
driving me insane, because it's got to be so simple...

How do I change the borderstyle of a label, frame, textbox? I've searched
all over and have found nothing. I tried the lbl.borderstyle, but
borderstyle isn't valid.

Thanks.
CH
 
G

Guest

Hi CH!!!

Well, VB6 has a different approach than VB.NET in regards of control's
graphics, especially borders. To be honest with you, after three days of
trying to have a nice thick blue border using standard properties, I gave up
and I created my own control where I manually created the border exactly the
way I want it. I must say that I am very happy with the final result.

If you don't want to create a custom control, you could create a
secondary label with a background colour, that you could put behind your main
control, say, a textbox.

Hope it helps!!!

Tarh ik
PS: This posting has been posted "AS IS"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top