Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OO Menus anyone?
Message
De
27/01/2006 09:19:24
 
 
À
27/01/2006 08:37:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01090850
Message ID:
01090883
Vues:
15
>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
Fil
Voir

Click here to load this message in the networking platform