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 < mbsoftwaresoluti...@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] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/cadj74tej3iizu4gxcofvjv-29hdmvaz1gmv64e+sq81z-re...@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.