| Frames -> Mutiple Toolbars in Multiple Frames |
 |
Here you can see one of the new features introduced in version 4.9.005: the ability to have multiple toolbars placed in different frames and share the same frame to display their menus.
In this sample you can see a vertical toolbar at the top frame and a horizontal toolbar at the left frame. Moving the mouse over either toolbar will reveal their menus and they will appear in this frame.
To achieve this on your own projects you will have to follow these simple steps:
- Create all the toolbars inside the same project
- Configure each toolbar so it uses the Free Flow positioning technique
- Implement the menus as if it were a normal project where you will have one toolbar in one frame and the menus in another. In this particular project we implemented the menus as if we only had the top frame and no left frame
- We then added a <SPAN> tag in the top frame which will be used by the Free Flow positioning code as a reference to know where to display the toolbar. This is the code we used:
<span id="dmbTB1ph" style="position:absolute; top:40px; left:150px;"></span>
- When the toolbar at the top frame was displayed and we knew it was working properly we then added a <SPAN> tag in the left frame with the ID set to the ID for the second toolbar. This is the code we used:
<span id="dmbTB2ph" style="position:absolute; left:30px; top:40px;"></span>