Ok, I've made a change for you. This will apply to version 4.30, Pre-Release 7 and later.
(Which isn't yet uploaded - I'll do that later this week.)
I've attached a small example app, based on example number 4. I'm not gonna add another example to the shipping set for 4.30 so you'll probably want to use this.
a) If you go to the MailBoxesBrowseControl procedure, to the Form tab, click on the Advanced button. Here you can set the name of the Form, and the Target. In this example, the URL is set to
'MailboxesFormControl'
and the Target is set to
'_top'
b) In the MailBoxesFormControl the URL-on-save (and URL-on-Cancel) is set to 'FramePage'. The Target in both cases is set to '_top'.
c) In the Embeds of the MailBoxesformControl, In the PostInsert and PostUpdate routines, I've added a line of code;
p_web.SetSessionValue('GoToBrowse','MailboxesBrowseControl')
d) In the FrameSet procedure there was already code to dynamically set the URL for the "Right_Frame". I extended this code to use the SessionValue, so it's now...
if p_web.GetSessionLoggedIn()
loc:RightURL = p_web.GetSessionValue('GoToBrowse')
if loc:rightURL = ''
loc:rightURL = 'IndexPage'
end
else
loc:RightURL = 'HintPage'
End
I'm not sure I really _like_ this approach, but I can see that in some cases it would work well.
Cheers
Bruce
[attachment deleted by admin]