After some brief experimentation with DD's ActiveBar we've decided to go old-skool and use Foxpro's Menu builder to build our menus. AB was overkill, anyway.
So, I've been recreating all the menus that were in ActiveBar over to VFP's menu builder, but I've found a little problem. We have a "Exit" menu option which should close down the current form, leaving the original calling form intact. Ie., I don't want to exit VFP, I want to exit this module, and go back to the main screen. We had a ToolClick event sorting all this out with AB (so release thisform worked like a charm) but now I can't get it to happen.
I've tried release thisform, thisform.release, _screen.activeform.release, etc, so what's the proper syntax for closing the current form from within an mpr file?
So, I've been recreating all the menus that were in ActiveBar over to VFP's menu builder, but I've found a little problem. We have a "Exit" menu option which should close down the current form, leaving the original calling form intact. Ie., I don't want to exit VFP, I want to exit this module, and go back to the main screen. We had a ToolClick event sorting all this out with AB (so release thisform worked like a charm) but now I can't get it to happen.
I've tried release thisform, thisform.release, _screen.activeform.release, etc, so what's the proper syntax for closing the current form from within an mpr file?