Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP Form Refresh

Status
Not open for further replies.

RTD78

Programmer
Nov 11, 2020
4
US
This is one of the few times that I have posted here. That's because almost always, with any issue that I have experience, someone else has to and I'm able to find a resolution. My thanks to those who take the time to help this community. This time, I am not able to find any thread that touches upon the issue that I am experiencing. So here goes!

When I drag a form across the screen using my mouse, it leaves a trail of itself over other forms. I'm thinking it's a refresh issue. I've spent a ton of time trying to identify the cause of the issue. Attached is a screenshot that better illustrates the issue that I am experiencing.

Any advice would be great!

Thanks, Ray

refresh_issue.png
 
You can get this when the form that shows the trail has it's lockscreen property .t.

Repro-code:
Code:
oform1=CreateObject("form")
oform1.top = 100
oform1.left = 100
oform1.Visible = .t.
oform1.lockscreen=.t.

oform2=CreateObject("form")
oform2.Visible =.t.
When you now drag the top form over the bottom form you get a trail of the form, like this:
1731002820198.png
 
Hi Chriss,

That was it!

Thank you very much for responding to my post. Much appreciated.

Ray
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top