Hi,
// you are writting on formA parent form
Args args;
FormRun formRun;
;
super();
args = new Args(formstr(FormB)); // FormB is child form
args.caller(element);
formRun = classFactory.formRunClass(args);
formRun.init();
formRun.run();
formRun.wait(); // this waits till child closes, unless child closes u cant close parent/ current form
formRun.detach(); // this will not wait for child form to close..
Regards,
// you are writting on formA parent form
Args args;
FormRun formRun;
;
super();
args = new Args(formstr(FormB)); // FormB is child form
args.caller(element);
formRun = classFactory.formRunClass(args);
formRun.init();
formRun.run();
formRun.wait(); // this waits till child closes, unless child closes u cant close parent/ current form
formRun.detach(); // this will not wait for child form to close..
Regards,
No comments:
Post a Comment