Focal Point
Frames in Maintain

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2261088331

August 03, 2005, 01:26 PM
<Faisal I Rathor>
Frames in Maintain
I want to create two frames in the form, one on the top and other below it. Can I place the menue in the top frame and show its output to the second frame. or
Any suggestion will be appreciated.
Confused
August 04, 2005, 08:22 AM
rubenibi
Don't undestand very well de question.

I'll answer, maybe it is what you asked...

When you create a frameset, you can name each frame, top frame would be "MenuFrame" and the bottom one "ContentFrame".

If you have a "menu" and you want to load a static document html in the bottom frame is:

 <a href"DocumentMenu.htm" target="ContentFrame">Go to the Bottom Frame</a> 
And if you want to load a FEX and you want that your html output is in other frame you can use in the HTMLFORM BEGIN a function to load de html file with document.location:

<html><br /><body><br />  <script><br />    parent.frames["ContentFrame"].document.location = "DocumentMenu.htm"; <br />  </script><br /></body><br /></html><br /> 
Hope it helps Wink

Regards...
August 04, 2005, 08:31 AM
<Faisal I Rathor>
Thanks for reply.
Tool: Maintain
Senario: I have a menue bar on the top of form and a frame below. Now I want to call another maintain file within the event of menue and display the output to a Frame.
I think now question is more clear, if not please tell me so I will rephrase my wordings again.
August 04, 2005, 11:49 AM
Maintain Wizard
I have never seen more than one Maintain running on a form at a time. While we can place the output of reports in frames, I do not think we can have another Maintain running on the form.

What you can do is simulate this. The easiest way is to create a driver Maintain with the Menu. When the user makes a selection CALL the proper Maintain and display it. You can recreate the menu so it appears the same in all the child Maintain procedures. When they click on the menu again, determine where they want to go, close the current Maintain, return to the driver, and open the next Maintain.

That would be the easiest way to do this.