473,395 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

reply didnt work out

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.
I got one reply from this newsgroups (ie)
From: Rob Teixeira [MVP]
Date Posted: 12/29/2003 9:48:00 AM
Simply flip the Y coordinate mathmatically
(Y = MaxHeight -Y).
-Rob Teixeira [MVP]

This reply does'nt work.

Thanking You.
K.N.Ranjit
Nov 20 '05 #1
4 1188
"K.N.Ranjit" <kn******@rediffmail.com> schrieb
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.
I got one reply from this newsgroups (ie)
From: Rob Teixeira [MVP]
Date Posted: 12/29/2003 9:48:00 AM
Simply flip the Y coordinate mathmatically
(Y = MaxHeight -Y).
-Rob Teixeira [MVP]

This reply does'nt work.


Could you please show us some code?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2
Cor
Hi Armin,

This is not a flame,

Your quotings become longer and longer

just a reminder.

Cor

Nov 20 '05 #3
"Cor" <no*@non.com> schrieb
This is not a flame,

Your quotings become longer and longer

just a reminder.


Right, but I referred to the whole posting and the whole problem because it
was the first one.
--
Armin

Nov 20 '05 #4
K.N.
You can do a TranslateTransform on the graphics to move the origin to
the bottom left but this would leave your coordinates as negative y and
positive x. I believe that you can do a MultiplyTransform to then get the
coordinates to postive y for up leaving positive x for left. Just at the
moment I don't have the time to work out the required matrix though. You
might ask this question in microsoft.public.framework.drawing for a more
detailed answer.
Ron Allen
"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.
I got one reply from this newsgroups (ie)
From: Rob Teixeira [MVP]
Date Posted: 12/29/2003 9:48:00 AM
Simply flip the Y coordinate mathmatically
(Y = MaxHeight -Y).
-Rob Teixeira [MVP]

This reply does'nt work.

Thanking You.
K.N.Ranjit

Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: David Allison | last post by:
Foriegn Key Required - Yes - no wonder it didnt work. Now they tell me. -- Dave Allison
1
by: cityrock | last post by:
Hi everyone, I have been searching 3 days stright for an answer, with no luck, so I decided to ask it out loud myself. Here is my problem. I am using a report as a catalog for my company. The...
1
by: Lucrefy | last post by:
i have a winform program that need automatic upgrade.I see and follow an article£¨http://windowsforms.net/articles/appupdater.aspx£© to build my own program,but it didnt work. show me a error...
0
by: Lucrefy | last post by:
i have a winform program that need automatic upgrade.I see and follow an article£¨http://windowsforms.net/articles/appupdater.aspx£© to build my own program,but it didnt work. show me a error...
2
by: pucksassasin | last post by:
I have an application that has a music backgroung and also requires sound effects, however when I play the sound effect the music stops. How do i play two wavs at once? (I am using the...
19
by: wcfinvader | last post by:
I have known this girl forever every since 3rd grade we are both in 10th grade now and I feel like I am in love with her and I want to ask her out but I dont know if I should call her tonight or...
5
by: taylan | last post by:
Hi Gurus, I have been working on my site pas few weeks almost 12 hrs a day. I came to a point and got stuck. I am hoping somebody can show me the way. What I want to do is: If a new user is visiting...
2
by: elif | last post by:
urgent!!!! i want to knwo how can i display 2 weeks date in combo box ? e.g today is 6/22, then in combo box, there should have date from 18/6 - 2/7 for user to select. how can i do it?...
0
by: 2Barter.net | last post by:
newsmail@reuters.uk.ed10.net Fwd: Money for New Orleans, AL & GA Inbox Reply Reply to all Forward Print Add 2Barter.net to Contacts list Delete this message Report phishing Show original
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.