Hi Team,

I am just trying to get my head around the function of the mainPanel and mainFrame. Coming from apex where there was the concept of a page and regions. How do I display two panels in the "first page"/mainFrame. Under "Windows" there always ever only one frame , the mainFrame?

asked 13 Feb '14, 08:45

Raymond's gravatar image

Raymond
24319
accept rate: 0%


Hı Raymond,

Formspider does not use the page paradigm. You build apps like you would build a desktop application, with Windows, Dialogs and Panels (canvases if you are familiar with Oracle Forms jargon).

Formspider has three types of Containers: mainFrame and Dialog (under the general grouping of Windows) and Panel.

A Formspider application has 0 or 1 mainFrame. This is the main Window of your application. You almost always have 1 mainFrame and you almost always maximise it and hide its titlebar. A mainframe is the top visual container of your application.

A Dialog is a Window but unlike mainFrame, you can have many Dialogs in your application. You can open multiple Dialogs at the same time.

A Panel is a container that can reside in any other Container (windows and panels). It covers a certain part of the content area of the Container it is in. There is a recursive relationship between Panel containers. A Panel may contain an unlimited number of panels. A panel can only be included to one Panel.

During run-time you use Formspider API's to add/remove Panels to/from Containers.

During design time, you can put Panels, inside Windows and you can put Panels and Components(testFields,textLabels etc...) inside Panels.

During run time you can add/remove Panels to/from Containers and show/hide Windows.

There are bunch of examples in the Demos section and the Learning Center to show you how to do these operations.

Hope this helps,
Yalim

link

answered 13 Feb '14, 09:21

Yalim's gravatar image

Yalim ♦♦
2.8k5
accept rate: 22%

Ok Thanks Yalim. So can you actually create multiple windows? The IDE seems to not let you add another window though.

Yes I looked at the examples. But I should have really loaded the demo app to get a better understanding. My bad. I just want to make sure I don't miss something crucial and make things to complicated unnecessarily.

link

answered 13 Feb '14, 21:27

Raymond's gravatar image

Raymond
24319
accept rate: 0%

Yes you can have multiple Dialogs. You can only have one mainFrame. If you ever developed a desktop application (or even better built an application with Oracle Forms) Formspider's UI design paradigm should be familiar to you quickly. By the way, Formspider IDE has multiple dialogs and it is a Formspider application, too.

(14 Feb '14, 01:08) Yalim ♦♦

Thanks Yalim

(14 Feb '14, 04:46) Raymond
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×7
×3

Asked: 13 Feb '14, 08:45

Seen: 920 times

Last updated: 14 Feb '14, 04:46


© Copyright Gerger 2017