That seems to be exactly what I needed. Thanks!
On 1/2/2020 10:22 AM, António Tavares Lopes wrote:
You may use the Page's DEACTIVATE event to prevent switching to other tabs, by issuing a NODEFAULT when data is invalid.
On Thu, Jan 2, 2020 at 2:50 PM MB Software Solutions, LLC < mbsoftwaresolutions@mbsoftwaresolutions.com> wrote:
VFP9SP2. Scenario: pageframe with several pages. Goal: force user to stay on page if invalid data entry on that page.
I'm trying to think of the best, non-kludgey way to prevent the user navigating to a different tab if an invalid condition exists. I was dabbling with the Page.Activate but I'm starting to get kludgey with flags and trickery. There is no Page.Valid event.
Suggestions?
[excessive quoting removed by server]