Re: Frustrations on anchor=15 resizing not happening until I go off the page and come back to it (SOLVED)

Author: Charlie-gm

Posted: 2018-08-23 at 08:20:23

I was going to suggest .lockscreen but I see you already found it :)

The .lockscreen approach will usually take care of a lot of visual

oddities (I used it frequently with OCX components).  Recall that VFP

"draws" its own display, and does not use the underlying Windows

"controls", etc.

So, yeah, in a way it is kind of a kludge, but it's probably more of a

specific need because Foxpro was bought, not developed, by MS.

-Charlie

On 8/22/2018 12:18 PM, mbsoftwaresolutions@mbsoftwaresolutions.com wrote:

> On 2018-08-22 10:43, mbsoftwaresolutions@mbsoftwaresolutions.com wrote:

>> VFP9SP2 using FoxCharts (1.37 and 1.46beta)

>>

>> I've got FoxCharts working somewhat in my testing so far, but I can't

>> get the first showing page to fully resize automatically and some

>> trickery I've tried is driving me nuts.  See 20-second demo showing my

>> frustration:  https://www.screencast.com/t/jmTkdEl2xN

>

...

> Solved it with this kludge in the form.init:

>

> this.LockScreen = .T.

> this.pgf.ActivePage = 2

> this.pgf.ActivePage = 1

> this.LockScreen = .F.

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/a7741464-ed32-6045-5e79-0892fc4ff471@gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2018 Charlie-gm