Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving a line shape leaves an image behind
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01293929
Message ID:
01293935
Views:
23
No, Sergey, I tried Draw() to no avail.


>>All,
>>
>>I have a shape on a plain form.
>>
>>BackStyle 0
>>BorderWidth 1
>>BorderStype 1
>>Height 1
>>
>>I want to move it higher on the form
>>
>>in the init()
>>
>>with thisform
>> .cnshape1.top = .cnshape1.top - 80
>>endwith
>>
>>the shape moves and displays correctly, but leaves a white line at the old location.
>>
>>I have tried lockscreen, refresh() and others on the form, make the line visible=.f. befor the top change, nothing works, althohgh if I click off of the form and back it fixes it.
>>
>>Any suggestions?
>>
>>TIA
>>
>>Al Allison
>
>Does Form.Draw() helps?
>
>with thisform
>     .cnshape1.top = .cnshape1.top - 80
>     .Draw()
>endwith
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform