Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Draw a single point with Pset
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00807075
Message ID:
00807191
Views:
19
Thierry,

I think you'll have to use the Line() method instead. This will turn just the 10,10 pixel on:

ox.Line( 10, 10, 11, 11 )
? ox.Point( 10, 10 ) && 0 = current draw color
? ox.Point( 11, 11 ) && 16777215 = current backcolor

>how can I draw a single point with PSET?
>
>I set the DrawWidth property of my form to 1, but when I watch the point with the windows's magnifier, it's a 2x2 point.
>
>For exemple if I use thisform.Pset(10,10) the drawn dot is (10,10) (10,11) (11,10) (11,11) and thisform.point() with all these coordinates return the forecolor property and not the backcolor.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform