In the VALID Event of that offending control:
RETURN 0
Which means: don't move the focus from that control.
If several controls together can do harm to the page control, just disable all
other pages. That's the equivalent of a modal page :)
FOR EACH oPage IN Pageframe.pages
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
+1
I prefer to spend my time on the concept of "craftsmanship" and get better at
the languages I already know instead of learning new languages. Probably not
the way to stay current, but crafting better code gives me great pleasure and
satisfaction.
Paul H. Tarver
-Original Message-
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
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 <
5 matches
Mail list logo