2 Point Measurement

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2005
Posts: 283
Reputation: BeastOverlordH6 is an unknown quantity at this point 
Solved Threads: 2
BeastOverlordH6's Avatar
BeastOverlordH6 BeastOverlordH6 is offline Offline
Posting Whiz in Training

2 Point Measurement

 
0
  #1
Jan 30th, 2008
Helloooooo...

I've been working a simple calculator for a kind of RPG I'n developing, and it requires use of a grid.

I have a set number of checkboxes in a grid formation, where the user checks off two of these boxes.

From here, I'm trying to get the measurement between the two checked boxes... my friend says there is a function that can measure the total pixels between two points, but I wasn't quite certain how that would work.
In fact, I was hoping for more of a coordinate system, where the distance could be measured horizontally and vertically in terms of the number of boxes transversed. Each checkbox would have an X and Y value, therefore. Then, I'd just use the Pythagorean theorem to determine the straight distance between these selected boxes.

I don't know how simple this could be, I just started to try out Visual Basic again.

If anyone has an idea, I'd really appreciate any help. Thanks in advance.
This is on Visual Basic 2008, for reference.
Personal messages and emails will not be ignored.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 291
Reputation: ericstenson is an unknown quantity at this point 
Solved Threads: 29
Team Colleague
ericstenson's Avatar
ericstenson ericstenson is offline Offline
Posting Whiz in Training

Re: 2 Point Measurement

 
0
  #2
Jan 31st, 2008
hi -- could do this project for you if you want to make an offer.
--
"Dummy."
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the VB.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC