Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal Form w/Assign to objref bug
Message
From
03/01/2002 17:40:21
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00600514
Message ID:
00600529
Views:
17
Thanks for the info. For now are using a work around.

>It is indeed a bug with object reference in assign methods not getting released properly.
>It has been fixed in SP1, which I hear is due to be released in a few weeks.
>
>>Create a simple form class called modalform in mytest.
>>Add a property called "objref" with Assign method.
>>
>>Create a simple form.
>>Add a command button.
>>
>>In the click event add the following code.
>>
>>oform = NEWOBJECT("modalform", "mytest" )
>>oform.objref = thisform
>>oform.show(1)
>>
>>Now run the form.
>>Click the button.
>>Close the modal form.
>>
>>Now try to close the non-modal form.
>>
>>If you remove the assign method. This works without a problem.
>>
>>The same test works fine in VFP 6.0.
>>
>>Can anyone please verify this bug?
>>
>>Troy
Previous
Reply
Map
View

Click here to load this message in the networking platform