I am new to VB.Net and have done a little VB3 &4. Whith the advent of the
Net aspect oto OOP I would like to use a standard winform that a user can do
several things.

1. Place predetermined line shapes on the form and save their location with
the closing of the form.

2. I would like to add a saveable text/label control that is movable around
the form with the mouse. In other words I wlll want to drag the control from
one spot on the form to another location. Preferable the locations will dock
to the line image drawing on the form back ground.

Is this a simple matter or is it very complex? Thanks for any thoughts or
ideas to try.

Dazed and confused but loving the challange just the same.

Mark Gaeth
Decatur,IN

Re: Moving a control on form with mouse event? by Herfried

Herfried
Wed Sep 10 02:46:02 CDT 2003

Hello,

"Mark Gaeth" <mgaeth@mchsi.com> schrieb:
> 1. Place predetermined line shapes on the form and save their
> location with the closing of the form.
>
> 2. I would like to add a saveable text/label control that is
> movable around the form with the mouse.

http://www.mvps.org/dotnet/dotnet/samples/miscsamples/downloads/XmlSerialization.zip

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet



Re: Moving a control on form with mouse event? by Mark

Mark
Wed Sep 10 05:21:06 CDT 2003

Thanks Herfried,

While I am not well versed in the german lanhuage I was able to read the
code to see were I was going wrong. I was trying to use the
cursor.current.postion..X for my arguments when I should have been using
e.x. Thanks for the tip/suggestion. Now to make many of these objects move
around and save to form an image.

Mark

"Herfried K. Wagner [MVP]" <hirf.nosp@m.activevb.de> wrote in message
news:OeVSX%232dDHA.576@tk2msftngp13.phx.gbl...
> Hello,
>
> "Mark Gaeth" <mgaeth@mchsi.com> schrieb:
> > 1. Place predetermined line shapes on the form and save their
> > location with the closing of the form.
> >
> > 2. I would like to add a saveable text/label control that is
> > movable around the form with the mouse.
>
>
http://www.mvps.org/dotnet/dotnet/samples/miscsamples/downloads/XmlSerialization.zip
>
> --
> Herfried K. Wagner
> MVP · VB Classic, VB.NET
> http://www.mvps.org/dotnet
>
>