JavaScript Editor js editor     Web development 



Main Page

Sets a point on a form or the main Visual FoxPro window to the foreground color.

 [FormSet.]Object.PSet([nXCoord, nYCoord])

Parameters

nXCoord


Specifies the horizontal coordinate of the point to set, in the unit of measurement specified by the ScaleMode property of the form.
nYCoord


Specifies the vertical coordinate of the point to set, in the unit of measurement specified by the ScaleMode property of the form.

Remarks

Applies To: Form | _SCREEN

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.

See Also



JavaScript Editor js editor     Web development