Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Form problem inisde the problem.
Message
 
To
28/08/2000 21:09:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00410094
Message ID:
00410146
Views:
12
I know your problem (i hope)

You probably do something like
createobject('myform')
or
local loForm
loForm=createobject('myform')
What now happens is that a local object reference is created. When the routine stops this var is released
Better create a public var and store the reference to the form to this var.
When you release the form, don't forget to release the public var.
Public oMyForm
oMyForm = CreateObject('MyForm')
oMyForm.Show()
Previous
Reply
Map
View

Click here to load this message in the networking platform