By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,954 Members | 1,152 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,954 IT Pros & Developers. It's quick & easy.

changing coordinate of form

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Simply flip the Y coordinate mathmatically (Y = MaxHeight - Y).

-Rob Teixeira [MVP]

"K.N.Ranjit" <kn******@rediffmail.com> wrote in message
news:07****************************@phx.gbl...
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

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.