Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Variables

Status
Not open for further replies.

Blobishthing

Programmer
Feb 16, 2002
23
0
0
AU
I have created a variable "X" it can show the position of the mouse on the program but how do i tell a label to show the value?

thanx in advance
 
label1.caption = cstr(X)

Put the code in the _mousemove sub if your want to to show the cursor position as the user moves the mouse.
Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top