Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Menus with modal forms - Urgent!
Message
De
13/11/1998 12:06:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00157280
Message ID:
00157450
Vues:
16
>Hi,
> I need to be able to display a modal form (for data entry)
>and still enable the menus. I can't seem to do that. Can someone help?
>
>Do I need to create MDI or SDI interface and are there any form parameters that I would have to set?
>
>Any replies would be great! Urgent!
>
>Thanks
>Ian

Ian,

I had the same problem and the solution I got from here is to build the menu from inside the PAINT method... like this
    *-------------------------------------------------
    * UPDAAPVMO1_BrowseSelect.PAINT
    PROCEDURE PAINT
        IF ! THISFORM.lMenuDone
            SET SYSMENU TO
            THISFORM.BuildMenu()
            THISFORM.lMenuDone = .T.
        ENDIF
    ENDPROC
I works fine. You might also do a search here since this issue has been discussed many times.

HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform