Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preventing a Page on a PageFrame from losing focus
Message
From
12/05/1999 21:12:39
Herb Ellerbock
Customized Computer Systems
Australia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Preventing a Page on a PageFrame from losing focus
Miscellaneous
Thread ID:
00218197
Message ID:
00218197
Views:
59
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
Map
View

Click here to load this message in the networking platform