Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drawing a line on a form
Message
De
05/05/2010 11:30:05
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01463198
Message ID:
01463234
Vues:
72
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform