Hi Patrick

I think you should simply instantiate it again, i.e.using
    formRUn = classFactory.formRunClass(args);
    formRun.init();
    formRUn.run();
    formRun.wait();
also the second time you want to show it.As you call run again you research your datasources anyhow. If you have any other "state" information you want to preserve you should save it before closing the form.

/Regards
Thomas

________________________________

Fra: [email protected] på vegne af opussolution_pk
Sendt: ti 14-03-2006 08:35
Til: [email protected]
Emne: [development-axapta] How to show a form again after the user has it closed



Hi there

I want to show a FormRun again after it is closed by user.
Unfortunelly I
don't get it work.

I tried this way:

    FormRun formRun;
    Args    args = new ARgs();
    ;
    args.name(formstr(EmplTable));
    formRUn = classFactory.formRunClass(args);
    formRun.init();
    formRUn.run();
    formRun.wait();
    formRun.reload(); // tried something, but nothing happens
    formRun.run();
    formRun.wait();

Does anyone knows what's the right method(s) to show again a FormRun?

Thank you for your hints
Best regards
Patrick









Yahoo! Groups Links










[Non-text portions of this message have been removed]





SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to