hi,
i creat newform,
at newproperty i try to insert thisform.x.value=0 ,or just x= 0, i get invalid name.
i think i must put 3 text at my form as thisform.x.value,thisform.y.value and thisform.i.value. also nothing happend.
at timer procedure timer i put the code as under
any help.
with ThisForm
thisform.i.value = thisform.i.value + 0.05
thisform.x.value = thisform.i.value*100
thisform.y.value = sin(thisform.i.value)*100 + 100
.Line(thisform.x.value, thisform.y.value)
if thisform.i.value >= 2*pi()
This.Enabled = .F.
endif
endwith
thanks
>>but i need your help with 2 things.
>>first .what you mean or how i can Create form properties .x = 0, .y = 0, .i = 0, && i miss understand
>
>.x is short for ThisForm.x. Similar for the other properties. (This is for a quick test only; in a real application, you would try to give your properties more meaningful names.)
>
>You create a form property with the menu command "Form | New property" (the form has to be opened first).
>
>>second how i can fill the line or any shape with colors
>
>I really never did this, but it would seem to me that you should draw shapes with the .Box() and .Circle() methods. You will have to change .FillColor() and perhaps .FillStyle().
>
>Also, you can make the line thicker. See .DrawWidth().