Lines and Boxes in VB.Net

  • Thread starter Thread starter bdtmike
  • Start date Start date
B

bdtmike

Ok, dumb question from a newbie who does most of his development in
MSACCESS:

Access has a line control and a box control for placing lines on my
form. How is this accomplished in VB.Net? Hopefully we're not back to
using pixel coordinates and a draw method!

-Mike
 
Mike,

One of the things that are missing is the posibility to draw a line on a
form in Net. In my opinion is the most efficient to use a very small control
that has lines

Copied from a message from Herfried, I don't know if it is original his.

You can use a label control with width or height set to 2, and
'BorderStyle' set to 'Fixed3D' to create an inset line.

I hope this helps,

Cor
 
Access has a line control and a box control for placing lines on my
form. How is this accomplished in VB.Net? Hopefully we're not back to
using pixel coordinates and a draw method!

Shapes and lines:

Advanced Shape Control
<URL:http://www.codeproject.com/vb/net/advanced_shape_control.asp>

LineControls.exe
<URL:http://www.gotdotnet.com/team/vb/LineControls.exe>
<URL:http://download.microsoft.com/download/7/e/0/7e070297-47fe-4443-9194-ab57acd8ea01/LineControls.msi>

Creating transparent Windows Forms controls.
<URL:http://www.bobpowell.net/transcontrols.htm>

Rules:

Wrapping Win32 Controls in .NET - Horizontal and Vertical Rules
<URL:http://www.codeproject.com/cs/miscctrl/hvrules1.asp>

Alternatively you can use a label control with width or height set to 2, and
'BorderStyle' set to 'Fixed3D' to create an inset line.
 
Thanks. This is very helpful. At least there's a workaround for
everything. It looks like they left a lot of stuff out but I guess
that's what Whitbey is for...
 
Thanks. This is very helpful. At least there's a workaround for
everything. It looks like they left a lot of stuff out but I guess
that's what Whitbey is for...

Whidbey won't include shape controls :-(.
 
That's amazing.. There are shapes on just about every dialog box you
dessign. Why leave that one out?
 
That's amazing.. There are shapes on just about every dialog box you
dessign. Why leave that one out?

Only Microsoft knows...
 

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

Back
Top