Share via


Point Method

Returns the red-green-blue (RGB) color of the specified point on a form.

Object.Point ([nXCoord, nYCoord])

Parameters

  • nXCoord
    Specifies the horizontal coordinate of the point, in the units specified in the ScaleMode property setting of the form.

  • nYCoord
    Specifies the vertical coordinate of the point, in the units specified in the ScaleMode property setting of the form.

Remarks

Applies To: Form Object | _SCREEN System Variable

If nXCoord or nYCoord is outside of the form, the Point method returns – 1.

See Also

Reference

Circle Method

Line Method

Print Method

PSet Method

Other Resources

Commands (Visual FoxPro)