| | |
getting the coordinates of a object
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
guys I'm just new with visual basic. I would like to ask a question regarding coordinates.. Suppose I have object lets say a button how do i get the coordinates of the button in the form? also I want to button to move given a particular path, example if i draw a vertical line, the button will follow the line and move vertically. how do i get the coordinates of starting and endpoints of the line? thanks...hope to hear from you soon
0
#2 27 Days Ago
>how do i get the coordinates of the button in the form?
Use Location Property of button control.
>how do i get the coordinates of starting and endpoints of the line?
Handles MouseDown, MouseMove, and MouseUp events of a Form control.
Use Location Property of button control.
>how do i get the coordinates of starting and endpoints of the line?
Handles MouseDown, MouseMove, and MouseUp events of a Form control.
Failure is not fatal, but failure to change might be. - John Wooden
0
#3 26 Days Ago
•
•
•
•
>how do i get the coordinates of the button in the form?
Use Location Property of button control.
>how do i get the coordinates of starting and endpoints of the line?
Handles MouseDown, MouseMove, and MouseUp events of a Form control.
how do i exactly get the location of a button using the Location property? how do i implement this method?
![]() |
Similar Threads
- OpenGL GLUT help (Game Development)
- Drag and drop from windows forms to desktop and windows explorer (C#)
- I need math formula for this (Game Development)
- Help with creating a derived class (C++)
- object for an array (Java)
- Object and Mouse events... (Java)
- Semi-Colon issues (C++)
- Python 2.4: AttributeError: 'module' object has no attribute 'argv' (Python)
Other Threads in the VB.NET Forum
- Previous Thread: Apriori algorithm sorce code in vb or vb.net
- Next Thread: How do i deploy my vb program to a cd?
| Thread Tools | Search this Thread |
.net .net2008 2005 2008 access account array basic beginner browser button buttons center check client code convert crystalreport cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic dropdownlist eclipse excel fade file-dialog filter forms ftp generatetags gridview html images inline input insert intel internet listview mobile monitor net objects open output panel passingparameters pdf picturebox port position print printing problem read remove save searchbox searchvb.net select serial settings shutdown soap sqlserver survey table tcp temperature textbox timer timespan transparency trim update user vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode year






