GetLastDropXY Method (TREEVIEW)
9.8A, PLBCMP GUI Only
The GetLastDropXY method retrieve the mouse coordinates where a mouse drop action occurred on the TREEVIEW object during a drag\drop user operation. These mouse coordinates can be used to determine the TREEVIEW item where the mouse drop action occurred using the ItemHitTest method. The method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A TREEVIEW object modified.
return
Optional. A Numeric Variable that that receives the mouse X and Y coordinate value(s).
flagmask
Optional. A decimal number or Numeric Variable that is a bit mask to control behaviors of the method.
Flags Affected: EOS, OVER, ZERO
Note the following:
If the value returned is zero, the ZERO Condition Flag is set.
If {return} is too smal to store the returned value returned is zero, the OVER Condition Flag is set.
The EOS flag is always cleared.
If the {flagmask} parameter is not used, the default behavior is to return the X and Y mouse coordinates as follows:
If the {flagmask} parameter is used, the bit mask values can be used as follows:
|
Value |
Meaning ... |
|
0x0 |
Return the X and Y coordinates. |
|
0x1 |
Only return the X coordinate. |
|
0x2 |
Only return the Y coordinate. |
|
0x4 |
Zero both X and Y coordinates. |
See Also: Method Syntax, TREEVIEW Methods
![]() |