Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pagex.deactivate()
Message
From
17/05/1998 21:18:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Pagex.deactivate()
Miscellaneous
Thread ID:
00100020
Message ID:
00100020
Views:
133
I had this working in VFP3 but in VFP5 I can't.
I thought that returning .F. in the Page.deactivate would prevent the clicked tab page from activating.
Here's some code
* --- Page1.deactivate ---
RETURN THIS.PARENT.deactivatePage()

* --- Pageframe.deactivatePage ---  (custom method)
RETURN THISFORM.Save()
Now if the user clicks on Page 2's tab and the Save() returns .F. I would expect Page 1 to stay active.
So I've gone wrong somewhere, 'cause it's not working. Any clues?
Next
Reply
Map
View

Click here to load this message in the networking platform