Good morning. I have seen there are 4 (may be 3) different layout styles - borderLayout, tableLayout, xyLayout (Not sure if "events" is a layout or the applicable events for the panel) I would like to know when should we use what kind of layout. In OracleForms - We have - Single record view (I am assuming is equivalent to xyLayout) Multi record view (I am assuming this is equivalent to tableLayout) However I am thinking if there can be more information on these, that would be helpful. Any directions or help?? Thank you, |
Hi Viswa, Actually, XY Layout is the only layout Oracle Forms has. In addition to XY Layout, Formspider has borderLayout and tableLayout. If you are OK with static X Y points for components in your application, you should use XY layout throughout the app. However, almost all modern web applications use a variation of table layout. This way the UI of the application can be more flexible in fitting to different resolutions and browser sizes. The Tutorial 32 is a good way to start learning the table layout. You can download and install the Formspider reference application for a more advanced use of table layout. I strongly recommend you to experiment with table layout and learn it. It'll be well worth your time even if you use other development tools. Border layout is a simple layout that divides the screen into 5: North, south, east, west and center. A component you put into any one of these 5 sections, covers the entire section it is in. Border layout is almost always used as the layout of the top level containers in an application. For example, you put a toolbar to the North, a navigation tree to the east, a status panel to south. The centre than is used to show the actual content. Hope this helps, |