change coordinates of form

K

K.N.Ranjit

Hi to all friends out there,
I'm facing this problem for atleast
2 days but still have'nt yet solved my problem.I send the
mail few days back (ie) in VB.net how to shift my form
coordinates (ie) by default (0,0) is in the top-left
corner of the form but right now I need it in the bottom
left corner of my form (ie) my (0,0) coordinates.I dont
know coding.I tried changing the form property location
but this location property is to place the form on the
desktop and not shift my coordinates of the form.So please
send the required information to help me successful in my
project.I'M actually stuck with my project because I cant
continue without changing my form coordinate.

Please eagerly waiting.... for ur reply.

Thanking You,
K.N.Ranjit
 
R

Rob Teixeira [MVP]

ScaleTop/Bottom/Left/Right are no longer supported. No property change will
help you in this case.
You will have to mathmatically calculate the point to put in the appropriate
place. If you want to invert the Y axis so Y=0 is at the bottom, after
calculating the value Y, you must then plot the point at
(ClientSize.Height - Y).

-Rob Teixeira [MVP]
 
C

Cor

Hi Ranjit,

Maybe I do not understand you, but it sounds like you can use the anchors
(I did not use it, only try a little bit, but I thought this was made for
it)

Why not try it?

Cor
 
A

Armin Zingler

K.N.Ranjit said:
Hi to all friends out there,
I'm facing this problem for atleast
2 days but still have'nt yet solved my problem.I send the
mail few days back (ie) in VB.net how to shift my form
coordinates (ie) by default (0,0) is in the top-left
corner of the form but right now I need it in the bottom
left corner of my form (ie) my (0,0) coordinates.I dont
know coding.I tried changing the form property location
but this location property is to place the form on the
desktop and not shift my coordinates of the form.So please
send the required information to help me successful in my
project.I'M actually stuck with my project because I cant
continue without changing my form coordinate.

Please eagerly waiting.... for ur reply.

You are asking the 3rd time now. No problem, but it would be nice if you
would stay in the same thread, not open a new one each time. Could you
please tell us what's the exact problem is? The last time you wrote "This
reply does'nt work.". I wanted you to show us some code to find out what
does not work. Would you please post the code that is not working?
 
T

Tom Spink

Hi,

May I ask, why would you want to do such a thing, I can't see any benefit
from this, perhaps we can offer an alternative solution.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
 

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

Top