| | |
getting the coordinates of a object
Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
![]() |
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
#3 Nov 10th, 2009
•
•
•
•
>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?
Views: 302 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
.net .net2008 2005 2008 access account application array arrays basic bing button buttons c# center check checkbox code convert crystalreport data database datagrid datagridview date design designer dissertation dissertations dropdownlist excel fade file-dialog filter ftp generatetags google gridview hardcopy images inline input insert installer intel internet listview mobile monitor net networking objects output panel passingparameters picturebox port position print printing problem read remove save searchbox searchvb.net select serial shutdown soap sorting studio survey table tcp temperature text textbox time timer timespan toolbox trim update user validation vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet visual visualbasic visualbasic.net visualstudio2008 web webbrowser winforms wpf year






