GetLastDropXY Method (LISTVIEW)


9.8A, PLBCMP GUI Only

 

The GeLastDropXY method retrieve the mouse coordinates where a mouse drop action occurred on the LISTVIEW object during a drag\drop user operation. The method uses the following format:

 

[label]

{object}.GetLastDropXY

[GIVING {return}] [USING [*Flags=]{flagmask}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A LISTVIEW object that is accessed.

return

Optional. A Numeric Variable that returns mouse X and Y coordinate value(s).

flagmask

Optional. A Numeric Variable or decimal number that is a bit mask to control the behavior of the method

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. The ZERO flag is set if the {return} value is zero.

  2. The OVER flag is set if the {return} variable is too small where the returned value is truncated.

  3. The EOS flag is always cleared.

  4. If the {flagmask} parameter is Not used, the default behavior is to return the X and Y mouse coordinates as follows:

  5.  

    {return} = ( X * 65536 ) + Y

     

  6. 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, LISTVIEW Methods



PL/B Language Reference GetItemTextAll Method (LISTVIEW) GetNextItem Method (LISTVIEW)