Application Development and Automation 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: 
Read only

Smartforms: Creating main windows in different pages

Former Member
0 Likes
1,041

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
Read only

Former Member
0 Likes
905

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.

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

3 REPLIES 3
Read only

Former Member
0 Likes
906

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.

Read only

0 Likes
903

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

Read only

0 Likes
903

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