A quick and easy way to do this would be to record what the top and
left values of the form is and this connect to the Move event and
reset the top and left values to the ones you saved.
There are probably better ways, but this is a quick and dirty way to
do it.
When asking this question it should always be followed by "and is it a good
idea to do this?" Users expect to be able to move windows. You need a
spectacularly good reason to prevent them from doing so.
the window is assigned to a control (textbox)
and should not be moved
Normally i dont care what users do. they can open up as many windows of my
application that they wish
but this is a custom control ownd by a textbox
Hence Not movable
DaveL
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.