VB 5 had tools to draw lines and shapes on forms in design mode. I don't see those in Visual studio 2005. Am I missing something I know you can code them, but how do you draw them directly on the form
I think they left those out, simply because it's now so incredibly easy to make that type of control yourself. Just have a look at how to paint with Graphics and you'll be hooked on drawing everything yourself, instead of using prefabricated controls.
I may be wrong, but I'm sure that Nascar drivers don't miss the lack of an automatic gear box....
(once you get the idea of how to draw on forms, controls and other objects, you'll find the power available to you is way more than what was available in VB6).
I think that using the 'redevolped' controls is a good stepping stone - the .NET framework, and the development IDE are a big change from what you are used to. But, the graphical capability of 'drawing it yourself' is immensely powerful.
Because you are used to 'drawing a line' using the line control, you may believe that is all you need: but consider this. You drew a 'line' in VB5/6 because that's what you had - what did you really need/want .NET brings that capability natively ...just something to think about.
Thanks TaDa - I've had a look but was hoping to retain editing of shapes at run-time. Other replies suggest my approach is out of step - time for a re-think.
Thanks - you saved me hours trying to find them in VS2005. It's hard to belief that VS2005, promoted as an advance on VB6, should omit such a useful set of graphical tools. I have a library of graphics, simply created with Draw tools in VB6, that I will now have to Paint in VS2005 - a huge task. Does anyone know if a set of VB6-type Drawing Tools is available anywhere for VS2005 or is there a technique for importing VB6 graphics into VS2005
Thanks, I was afraid that would be the answer. I'm just getting back into VB2005 from VB5 so I have a lot of learning to do. I'll bet this one operation has been done a thousand times just because they removed it. Too bad there isn't a library of user controls to draw from, especially for newb's.
You aren't missing anything, they aren't there. Personally it is a huge fallback, but what you can do is create your own custom Line control then draw the line on the form with that, or override the form's onpaint event and paint the line there.
drawing on forms
rachakunta
quincin
Bit of an old thread this, but...
I may be wrong, but I'm sure that Nascar drivers don't miss the lack of an automatic gear box...
.
(once you get the idea of how to draw on forms, controls and other objects, you'll find the power available to you is way more than what was available in VB6).
Fabio82
I think that using the 'redevolped' controls is a good stepping stone - the .NET framework, and the development IDE are a big change from what you are used to. But, the graphical capability of 'drawing it yourself' is immensely powerful.
Because you are used to 'drawing a line' using the line control, you may believe that is all you need: but consider this. You drew a 'line' in VB5/6 because that's what you had - what did you really need/want
.NET brings that capability natively ...just something to think about.
hulle
Fabio Cozzolino
Claus Stahnke
Thanks - you saved me hours trying to find them in VS2005. It's hard to belief that VS2005, promoted as an advance on VB6, should omit such a useful set of graphical tools. I have a library of graphics, simply created with Draw tools in VB6, that I will now have to Paint in VS2005 - a huge task. Does anyone know if a set of VB6-type Drawing Tools is available anywhere for VS2005 or is there a technique for importing VB6 graphics into VS2005
tcw
Pat_ON
Moved from the WinForms designer forum.
Martin
Sean Stapleton