Twice the same form?

Hi

Can I show a second instance of a form? I have a navigation list (list of students with an alphabet on top to select the first character) which I use in the main form. If I now open a second window (which uses a seperate foundset) with showFormInDialog and use this navigation list (with a tabless tab panel) the navigation list in the main form disappears. :?

Why?

Regards
Birgit Rieder

in 3.1x you can’t

in the upcomming 3.5 you can! :)

In 3.1 you can’t, in 3.5, you can create a second instance of the same form, with a new name.

Paul

Great, thank you! I’m looking forward to it.

This “…with a new name.” means what? Does it have to be on a different foundset? Do they interact?

Maybe I just wait and see.

Regards
Birgit Rieder

The application node has a function called createNewFormInstance(designFormName, newName);

With it, you can create a new instance of, lets say, your customer form and give it a name like customer_2.

In scripting, you can then say: forms.customer_2.elements.xxxx or any other function you can normally call on a form.

If the designed form has teh useSeparateFoundset property UNchecked, both the designed and new form share the same foundset.

Paul

Thank you for this clear response. I’m really looking forward to 3.5 :)

Regards
Birgit Rieder