>>You can poll the mouse to ask what object it's above using AMOUSEOBJ().
>
>Is that similar to SYS(1270)?
It returns an array of data about the mouse position rel;ative to VFP obejects; the following is from the VFP6 Help file
Creates an array containing information about the mouse pointer position and the object over which the mouse pointer is positioned.
Syntax
AMOUSEOBJ(ArrayName [, 1])
Returns
Numeric
Arguments
ArrayName
Specifies the name of the array containing the mouse pointer information. If the array you specify doesn't exist, Visual FoxPro automatically creates the array. If the array exists and isn't large enough to contain all the lines in the memo field, Visual FoxPro automatically increases the size of the array. If the array is larger than necessary, Visual FoxPro truncates the array.
The array that is created contains four rows. The following table describes the contents of each row in the array:
Array row Description
1 Contains an object reference to the object over which the mouse pointer is positioned when AMOUSEOBJ( ) is executed.
2 Contains an object reference to the container of the object over which the mouse pointer is positioned when AMOUSEOBJ( ) is executed.
3 Contains the horizontal (X) coordinate in pixels of the mouse pointer, relative to the container of the object over which the mouse pointer is positioned when AMOUSEOBJ( ) is executed.
4 Contains the vertical (Y) coordinate in pixels of the mouse pointer, relative to the container of the object over which the mouse pointer is positioned when AMOUSEOBJ( ) is executed.
.Signature
{
margin-top: 12px;
color: #666666;
}
.Signature a
{
color: #666666;
}