对了,比如我有一个主Form,上面有一个button,当我clicked it 时,打开一个子FORM.我想问的是调用子Form的create函数时用什么作它的参数好。 subForm.create(nil);??
subForm.create(mainForm); ??
subForm.create(Application); ??兄弟在国外,手头没有delphi的书。
subForm.create(mainForm); ??
subForm.create(Application); ??兄弟在国外,手头没有delphi的书。
再定义subForm.create(TsubForm)
subForm.Show;
Form2.Show;