Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Menus with modal forms - Urgent!
Message
From
13/11/1998 12:06:24
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00157280
Message ID:
00157450
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform