Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM object and Modal form
Message
From
29/11/2010 16:54:43
 
 
To
29/11/2010 13:34:22
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01490949
Message ID:
01490978
Views:
72
>I have created a VFP COM object exe that is instantiated in .NET and in one of the COM methods I call in .NET instantiates a VFP modal form. Everything works great except the form is not modal and I cannot figure out why. Any and all help is greatly appreciated.
>
>Here is the code in the COM object method:
>
>Public oForm
>oForm = CreateObject("class.form")
>_Screen.Visible = .F.
>oForm.Init(parameter1,parameter2,parameter3,parameter4)
>
>Code form the Form.Init():
>This.Visible = .f.
>This.Show(1)
.
Not modal in what respect? It should be modal within the VFP context - but not to .NET
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform