Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Howto make a page in a page-frame the active page?

Status
Not open for further replies.

RedLion

Programmer
Sep 13, 2000
342
0
0
NL
Hello,

I've got a page-frame, with some textboxes, and at the deactivate-event of the page I check if something is changed in one of the textboxes, and if I ask the user to save it Yes, No, or Cancel.

On Cancel the page has to stay active, but how can that be done?

I've tried a few things like return .F. in the deactivate-event, but it doesn't help?


Thanks,

Charl
 
Try this in deactivate-event:

IF SomethingIsChanged=.T.
nodefault
...
..
ELSE
..
ENDIF
 
Thanks Alias,
That's the word I was searching for...nodefault

Thanks,

Charl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top