Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing main menus to run different apps.
Message
De
20/11/2002 09:44:51
 
 
À
18/11/2002 10:37:18
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00722389
Message ID:
00724722
Vues:
19
Hello Chris,
first about repainting menu. This happen when we are changing menus based on the package. A lot of new classes created at this point and that's why you can see the new menu pads appear one after another one. The computer I am using is pretty fast, 1.3MgH, 256 MB RAM. It's just too many things is going on. I did lock the menu with SET SYSMENU OFF/ON.
However, we have another problem. See, one of the pads we keeping on the main menu regardless of the package is PackagesPad. In this pad we have PopUp classes for all packages. For instance, if we are in General Ledger, there is a General Ledger menu and PackagesPad with GeneralLedger menu options. If we are in Fixed Assets, there is a Fixed Assets menu and (again) PackagesPad with Fixed Assets menu options. This way from PackagesPad users can either change the package completely or just run any form from any package so we need PackagesPad present all the time. But because PackagesPad is using the same classes as all packages menus, when we are changing package(from General Ledger to Fixed Assets, for instance) the General Ledger menu classes released and they gone from the PackagesPad as well. If you then switch from Fixed Assets back to General Ledger, the Fixed Assets menu classes gone from PackagesPad's Fixed Assets PopUp. Now, all you can do is switch packages but you can't call form neither from General Ledger no from Fixed Assets. That's because the PackagesPad stays the same without re-initialization. We tried to PUSH PackagesPopUp to memory to preserve it when classes got removed and then POP it back but this clabbered the same Packages menu classes that just were created. I hope this all makes sense. For interesting is that when we are POPing PUSHed popup back from the memory and the selected package's menu popups got clabbered, if you click on the menu a couple of times, those clabbered popups are coming back and everything OK. How those clicks on the menu makes them coming back, I have no idea.
Anyway, I appreciated your help; you are the only one who responded to my posting. Thank you very much Chris.
Regards
Igor
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform