Sure can Bryce, here's some code for that. It's a Form with two labels. The first label reports the current XY of the mouse, on the Form. The second label is bigger, and reports the current XY of the mouse, within itself.
code:
Break On
$Form = CreateObject("Kixtart.Form")
$Form.Caption = "Kixforms..."
$Form.Width =230
$Form.Height = 270
$Form.BackColor = &669900
$Form.OnMouseMove = "Form_MouseMove"
$FormXY = $Form.Label("Form movement...",40,20,140,20)
$FormXY.BackColor = &099CC99
$Label = $Form.Label("Label movement...",40,50,140,80)
$Label.BackColor = &099CC99
$Label.OnMouseMove = "Label_MouseMove"
$Form.Center
$Form.Show
While $Form.Visible
$=Execute($Form.DoEvents(1))
Sleep(0.1)
Loop
Exit 1
Function Form_MouseMove()
$FormXY.Caption = "Form: x=" + $Form.MouseX + " y=" + $Form.MouseY
EndFunction
Function Label_MouseMove()
$Label.Caption = "Label: x=" + $Label.MouseX + " y=" + $Label.MouseY
EndFunction
-Shawn
[ 14 July 2002, 19:10: Message edited by: Shawn ]