hi again :)
in VB6 i use the Line to Draw Lines Like when i make Wizard Forms.
but in VB.NET i cant find this Control......
it's realy not important Control
but nice to make GUI like 3D Lines
please tell me where the line Control in VB.NET???

Signature
------------------------------------------------
Best Regards From Tark
Scott McChesney - 07 Dec 2004 01:02 GMT
The Line control is gone from VB.NET, as is the Shape control. Under .NET,
you have to draw them yourself using Graphics methods.
If you're looking for 3D lines, then an alternative might be the
ControlPaint class. That has methods for drawing 3D borders of rectangles,
and you can specify which side(s) to draw, so you can simulate 3D lines like
you see in wizard forms by only drawing one side of the rectangle.
HTH
- Scott
> hi again :)
>
[quoted text clipped - 4 lines]
>
> please tell me where the line Control in VB.NET???
Ken Tucker [MVP] - 07 Dec 2004 03:47 GMT
Hi,
http://www.onteorasoftware.com/downloads/shapedemo.zip
Ken
-----------------
hi again :)
in VB6 i use the Line to Draw Lines Like when i make Wizard Forms.
but in VB.NET i cant find this Control......
it's realy not important Control
but nice to make GUI like 3D Lines
please tell me where the line Control in VB.NET???

Signature
------------------------------------------------
Best Regards From Tark
Rakesh Rajan - 07 Dec 2004 05:29 GMT
Hi,
A quick workaround:
Use a GroupBox control
Set it's Text property to Null
Set it's Height (or Width for vertical lines) to 2
HTH,
Rakesh Rajan
> hi again :)
>
[quoted text clipped - 4 lines]
>
> please tell me where the line Control in VB.NET???
Rakesh Rajan - 07 Dec 2004 05:33 GMT
Hi,
A quick workaround for this is to use the GroupBox control by setting it's
Text to null and Height to 2.
HTH,
Rakesh Rajan
> hi again :)
>
[quoted text clipped - 4 lines]
>
> please tell me where the line Control in VB.NET???
Herfried K. Wagner [MVP] - 07 Dec 2004 07:17 GMT
"Tark Siala" <tarksiala@hotmail.com> schrieb:
> in VB6 i use the Line to Draw Lines Like when i make Wizard Forms.
> but in VB.NET i cant find this Control......
> it's realy not important Control
> but nice to make GUI like 3D Lines
>
> please tell me where the line Control in VB.NET???
There is no line control any more.
See (complete discussion):
<URL:http://www.google.de/groups?threadm=eV5alMTMEHA.624%40TK2MSFTNGP11.phx.gbl>

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/
James Hancock - 09 Dec 2004 21:49 GMT
Actually don't use the Groupbox control. It's a container control and has a
window be default and thus eats resources for no reason.
Use the label control to accomplish the same thing with way less resources.
> hi again :)
>
[quoted text clipped - 4 lines]
>
> please tell me where the line Control in VB.NET???
Ken Halter - 23 Dec 2004 19:48 GMT
Wholly smokes.... look at this crosspost list!... anyway, Labels or Frames
(aka "GroupBox" (sheesh) controls) are fine as long as you're only drawing
Horizontal or Vertical lines.

Signature
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Please keep all discussions in the groups..
> Actually don't use the Groupbox control. It's a container control and has
> a window be default and thus eats resources for no reason.
[quoted text clipped - 10 lines]
>>
>> please tell me where the line Control in VB.NET???
Rustem Soft - 02 Jan 2005 06:24 GMT
Download free Line .NET Control:
http://rustemsoft.com/images/LineControl.zip
When a beginner who has VB6 experience first time opens .NET and just
going about making a form up he/she could notice there is no Line in the
.NET toolbox. What happened, where did it go?
There is a difference from VB6 forms that Windows Forms .NET does not
support the Line control.
The Line class is based on System.Drawing namespace that provides access
to GDI+ basic graphics functionality. A Line control is a graphical
control that displays a horizontal, vertical, or diagonal one-pixel-wide
line that can't be changed directly. The Line control can be changed
dynamically at run time.
The control class Line that is implemented in both languages (VB.Net and
C#) is derived from System.Windows.Forms.Control. It overrides the
OnPaint method to draw itself. The class will draw the line depending on
its properties.
Line controls can be displayed on forms, in picture boxes, and in
another visual controls. You can move or resize your Line object by
altering its X_Left, X_Right, Y_Left, and Y_Right properties. Also you
can setup its Color property.
Download free Line .NET Control:
http://rustemsoft.com/images/LineControl.zip