-
1
- #1
PhilRiches
Programmer
I am having problems with running my delphi form from my paradox menu.
In the menuaction event of my menu form I am running code similar to the following:
if not MyAddInForm.Attach(strFormTitle)
then
MyaddInForm.Open(strFormName, False, False)
MyAddInForm.SetProperty("CompanyNo", 17)
endIf
MyAddInForm.Show()
After lauching the delphi form everything seems okay until I try to launch another form from the menu. The only way I can launch another form is to focus on a previously opened paradox form, if I do not selecting options from the menu has no affect.
Note: My forms are not designed to be modal, so I cannot wait until the user has finished with the form. The system has been designed to allow multiple forms to be open at a time.
In the menuaction event of my menu form I am running code similar to the following:
if not MyAddInForm.Attach(strFormTitle)
then
MyaddInForm.Open(strFormName, False, False)
MyAddInForm.SetProperty("CompanyNo", 17)
endIf
MyAddInForm.Show()
After lauching the delphi form everything seems okay until I try to launch another form from the menu. The only way I can launch another form is to focus on a previously opened paradox form, if I do not selecting options from the menu has no affect.
Note: My forms are not designed to be modal, so I cannot wait until the user has finished with the form. The system has been designed to allow multiple forms to be open at a time.