On Tue, Jun 20, 2017 at 12:13 PM, Tracy Pearson <[email protected]> wrote: > > Has anyone noted this behavior?
Yes, iirc from decades ago. You're running code in a Button.Click() event, and the button has default behaviors of repainting as a DownPicture and executing the code, and then repainting the UpPicture, so it can get redrawn even as the rug (in this case the pageframe) is pulled out from underneath it. > Does anyone have a workaround? Now, for the tough part. This part I don't recall. I'm thinking you could do something like call a PageFrame custom method passing the desired page, sets a timer for a tenth of a second to reset the ActivePage and return to the button. Once it's done repainting, the page should switch. But that's really hacky. Or maybe just try NODEFAULT in the Button.Click() Or LockScreen()? -- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com _______________________________________________ Post Messages to: [email protected] 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/cacw6n4u6lgte5ec1ipgcd-rtrkscewsnstukneadqrkcp0z...@mail.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.

