General information
Category:
Coding, syntax & commands
Title:
Preventing a Page on a PageFrame from losing focus
I have a form with a pageframe where data entry is done on one of the pages. I use the Deactivate Method to test for edits and trigger a Save (Yes/No/Cancel) dialog, record level validation and TableUpdate/TableRevert as appropriate.
My problem is that I cannot prevent the data entry page from losing focus when clicking on onother page and then selecting Cancel in the Save dialog, or selecting Yes and the record level validation fails.
Ideally, I would like the focus to remain on the object which was active before the new page was clicked, without having to hook my Save Method to the Valid Method on every get object on the page.
Can anyone help?
Regards,
Herb Ellerbock
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only