Information générale
Catégorie:
Gestionnaire de menu & Menus
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???
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement