| | |
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
#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?
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
.net .net2008 2008 access advanced application array basic beginner browser button buttons center click client code combo convert cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic eclipse excel exists fade filter forms function html images input lib listview map mobile module monitor msaccess net number objects open panel pdf picturebox picturebox2 port position print printing problem read regex remove right-to-left save search serial settings shutdown socket sorting sqldatbase sqlserver survey temperature textbox timer timespan transparency txttoxmlconverter user usercontol validation vb vb.net vb2008 vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web webbrowser winforms winsock wpf wrapingcode xml year






