Hi Roi,
>I've been thinking an ObserverPattern class might solve the problem but I'm still tinkering with it.
If you get something generic enough that works please post it for dissection ;-)
>BTW I'm part of the EOD faction myself. Question: How many apps have you seen (not including fox developer generated) that follow the EOR pattern? Just wondering.
Several, but they do it in sneaky ways. You don't need an Edit button to have Edit-on-Request and make it
look like EOD. Give you a good example, the Outlook Address book. Pull it up and you see your list of Contacts. Can you edit it directly? Nope, you have to select one and go to Properties via right-click or dbl-click. When in properties, you are editing that ONE record in a modal child form of the Contact list (which you cannot return to without an OK/Cancel).
Look at my DESI app. The top of each form has a selection list. I guess I could have put code in double-click there to do an edit and gotten rid of the modify button and make it a "fake" edit-on-demand ;-)
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05