Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drawing a line on a form
Message
From
05/05/2010 11:30:05
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01463198
Message ID:
01463234
Views:
74
Thanks Sergey.

Another related question: I am trying to let the user draw a line on a form and to refresh that line as he moves the mouse. I am drawing the line with DrawMode = 7 (XOR) and then re-drawing it to remove it. But I dont see the line. What properties should I set iro FillColor or other to show the line, then re-draw the line to erase?

If I set the DrawMode = 13 I do see the lines but obviously they dont erase as I move the mouse.


>No it's not. You have to use ADDOBJECT() or NEWOBJECT() form methods to add an object to a form.
>
>>
>>If I use THISFORM.LINE(nXCoord1, nYCoord1, nXCoord2, nYCoord2) to draw a line on a form is that line created as an object on the form that can be referenced? If so, how?
>>
>>TIA
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform