Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving a line shape leaves an image behind
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Moving a line shape leaves an image behind
Divers
Thread ID:
01293929
Message ID:
01293929
Vues:
53
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform