Then how about the .Paint event? Better, Worse, Not at all?
Fred
On Fri, Jul 14, 2017 at 2:52 PM, Tracy Pearson tracy@powerchurch.com wrote:
Mike,
Yes, it does prevent the artifact from appearing. Reading what REFRESH does, makes me cringe a little to use it in this way. Every control will refresh its data, not just a redraw of the screen area.
Tracy
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of mbsoftwaresolutions@mbsoftwaresolutions.com Sent: Friday, July 14, 2017 4:19 PM To: profoxtech@leafe.com Subject: RE: Scrollbar ghost effect
Just a WAG -- In the thisform.Resize event, does adding a this.refresh fix it?
--Mike
On 2017-07-14 10:33, Dave Crozier wrote:
With your anchor settings still no problems seen.
However my video card Is a high spec Nvidea with 11Gb on board it.
I'll certainly try it on a lower spec machine and report back
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Tracy Pearson Sent: 14 July 2017 14:53 To: profox@leafe.com Subject: RE: Scrollbar ghost effect
Hi Dave,
I did forget about mentioning the anchors.
MyForm.pgf.Anchor = 15 MyForm.pgf.Page2.InnerPgf.Anchor = 14 It is set on the lower half of the page. MyForm.pgf.Page2.InnerPgf.edt.Anchor = 0
All the classes used are subclasses from the VFP.
I found the artifact will appear when stretching the window down quickly.
However, I just built a test form and I am seeing the artifact appear using base classes.
Thank you for tinkering, Tracy
Dave Crozier wrote on 2017-07-14:
I forgot to say, as per your brief all editbox, pageframes and form all
subclassed
dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Dave Crozier Sent: 14 July 2017 09:41 To: ProFox Email List profox@leafe.com Subject: RE: Scrollbar ghost effect
Correction - Anchor 15
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Dave Crozier Sent: 14 July 2017 09:40 To: ProFox Email List profox@leafe.com Subject: RE: Scrollbar ghost effect
Tracy, Assuming you are anchoring both the pageframes and the contained editbox
(I have used Anchor=10) than on Windows 10 64Bit I don't get any problems at all.
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Tracy Pearson Sent: 13 July 2017 20:55 To: profox@leafe.com Subject: Scrollbar ghost effect
Hello,
A Form - MyForm A PageFrame - MyForm.pgf A 2nd PageFrame - MyForm.pgf.Page2.InnerPgf An Editbox -
MyForm.pgf.Page2.InnerPgf.Page2.edt
Set the MyForm.pgf.Page2 active Set the MyForm.pgf.Page2.InnerPgf.Page2 active
Now stretch the form down quickly.
In Windows 10, on 3 different machines, we are seeing the scrollbar of
the editbox ghost over MyForm.pgf.Page2
Anyone want to try to duplicate that and share your findings?
Thank you, Tracy
[excessive quoting removed by server]