PRB: "There is Not Enough Memory" Error with Menu in a Defined Window (285221)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q285221 SYMPTOMS
If a menu in a defined window is activated more than once, the following error may occur:
There is not enough memory to complete this operation.
NOTE: This problem does not occur in Visual FoxPro 3.0.
RESOLUTION
There are two ways to work around this problem:
- Display the menu in the main Visual FoxPro Window instead of defining a window. See the two comments in the code labeled "workaround 1" in the "More Information" section".
- Define the window before the loop, and instead of releasing the window, deactivate it. See the three comments in the code labeled "workaround 2".
Modification Type: | Major | Last Reviewed: | 8/27/2002 |
---|
Keywords: | kbCodeSnippet kbDSupport kbprb KB285221 |
---|
|