Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Smartforms: Creating main windows in different pages

Former Member
0 Kudos
275

Hi all!

I am using smart forms, I tried to create 2 main windows in 2 different pages. I keep getting the following error: "Two main windows are not allowed." However, I have already seen an example where there are 2 main windows created in 2 different pages. Does anyone know of you how to solve this?

Thanks for your help.

Message was edited by: Hajar Belahsen

1 ACCEPTED SOLUTION

Former Member
0 Kudos
139

Hi Hajar,

You cannot have two main windows. But the main window can be associated to as many different pages that you want.

Check the program where you saw that the code inside the MAIN window is same. They have actually associated the window with the page. This is what termed as page-window.

Give feedback.

Regards,

Deva.

3 REPLIES 3

Former Member
0 Kudos
140

Hi Hajar,

You cannot have two main windows. But the main window can be associated to as many different pages that you want.

Check the program where you saw that the code inside the MAIN window is same. They have actually associated the window with the page. This is what termed as page-window.

Give feedback.

Regards,

Deva.

0 Kudos
137

Thanks a lot Deva!

In my first message i forgot to mention that i'm using smartforms. However, the same also applies; I can't have 2 main windows but the main window can be associated to as many different pages as I want. Your answer was helpful.

Yours,

Hajar

0 Kudos
137

Hi Hajar,

Just copy the MAIN window to the next page. Use context menu (click right mouse button on the MAIN window) to copy the window.

Thanks

Vinod