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:
01293934
Views:
25
>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
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform