Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I release a form from the Activate method?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00439439
Message ID:
00439477
Views:
14
Paul, here's a simple example:

test 1
oform = createobj("form")
oform.show
oform.addobject("olistbox", "listbox")
oForm.release() && IT'S GONE

test 2
oform = createobj("form")
oform.show
oform.addobject("olistbox", "listbox")
oRef = _screen.activeform.olistbox && create extra object reference
oform.release() && DOESN'T GO AWAY!

hope this helps!
-michael

My brain hurt like a warehouse, it had no room to spare, I had to cram so many things to store everthing in there. - David Bowie
Previous
Reply
Map
View

Click here to load this message in the networking platform