Sets a point on a form or the main Visual FoxPro window to the foreground color.
- Specifies the horizontal coordinate of the point to set, in the unit of measurement specified by the ScaleMode property of the form.
- Specifies the vertical coordinate of the point to set, in the unit of measurement specified by the ScaleMode property of the form.
The size of the point drawn depends on the DrawWidth property. When DrawWidth is set to 1, the PSet method sets a single pixel to the specified color. When DrawWidth is set to a value greater than 1, the point is centered on the specified coordinates. The way the point is drawn depends on the setting of the DrawMode and DrawStyle properties.
When the PSet method is called, the CurrentX and CurrentY properties are set to the point specified by the arguments.