changing coordinate of form

K

K.N.Ranjit

Hi to all friends out there.I am presently working in TCS
and I am supposed to do the work given to me in line
cordinates using VB.net.But over here I face a problem (ie)
I want my coordinate (0,0) to start in the lower-left
corner of my form instead of the default upper-left corner
of the form.If anyone could provide me the solution I
would be very contended. I could do the same in VB by just
changing that scale top property which would sort out my
problem but unfortunately VB.net does'nt support scaletop
property in form.So,if any property which is EQUIVALENT to
scale top property please let me know the required coding.
Thanking You.
K.N.Ranjit
 
R

Rob Teixeira [MVP]

Simply flip the Y coordinate mathmatically (Y = MaxHeight - Y).

-Rob Teixeira [MVP]
 

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