Versions des environnements
>Hi Sergey,
>
>It's been awhile :-)
>
>I agree, to me too, but I've had a lot of problems with VFP running out of memory after a while.
>
>This is most likely because I am inept at programming, because I have been unable to figure out how to release the menus when a form lose the focus, and load them again when a form gets the focus.
>
>If you recall, we had a discussion a while back about this issue of pushing / popping menus.
>
>Basically I'm using the same menu "MainMenu" in all the forms of an application, the idea being that the user can access everything from everwhere.
>
>Anyway, I thought I had it licked, but it seems there is a memory issue somewhere, because at some point the program crashes with a "not enough memory to complete this operation" error.
>
>So, if you know of any product...? Or a fix for my problem?
>
>BR
>
You cannot share the same menu "mainMenu" in two forms;
you have to build a "mainmenu1","mainmenu2".... ( in Load )
and release everyone when the form is destroyed ( in Unload )
>
>>>I've just had a post about the CommandBars library and Tore Bleken kindly pointed out a couple of threads that discouraged me from trying this product.
>>>
>>>Does anyone know of a similar product that would let me replace the VFP menu with OO menus?
>>>
>>>Only, they must have the look and feel of real Windows menus.
>>
>>VFP menus look real to me. < gd&r >
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement