Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Come on guys... someone's gotta know this (I hope)
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00158066
Message ID:
00158697
Views:
12
If the sub-form is also modal, you may run into problems. Are you executing the menu program again - for the sub-form?? You may need to do this...


>John,
>
>The sub-form is also modal. And I've discovered a new twist too. The modal form which initializes the menu contains a grid based on a temporary cursor... When the cursor has one or more records, the menu is enabled. If the cursor is empty, the menu is disabled???
>
>I'm building the menu in the PAINT method of the modal form which *should* make it available when the form is active.
>
>I'm working on a "small" .prg to demonstrate this behavior, I'll post it when it's ready.
>
>Thanks
>
>
>>Hi Larry ---
>>
>>OK, you're not supposed to have access to any other forms, menus, etc. from a modal form and this would explain why it won't fire off unless you launch a sub-form. Is the sub-form modal? If not, launching it might "break" the modality when you return to the first form.
>>
>>
>>>I'm still having a wrestling match with the menu which is not accessible from a modal form *unless you first run, then close a sub-form* then the menu is enabled and accessible
>>>
>>>Any ideas???
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform