Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal forms launched by dockable forms
Message
De
04/01/2021 07:08:06
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
03/01/2021 18:28:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01677685
Message ID:
01677738
Vues:
87
>>
>>Okay. Beg your pardon.
>>You refer to .windowtype = 1
>>I to .Show(1)
>>.Show(1) will disable the menu, and that's the standard to the stuff I do all the time.
>>Because that's what I like to achieve for modal forms.
>>:)
>
>It's the same thing, actually. The menu is not deactivated in both cases:
>
>
>LOCAL ModalForm AS Form
>
>m.ModalForm = CREATEOBJECT("Form")
>m.ModalForm.AddObject("tb", "TextBox")
>m.ModalForm.tb.Visible = .T.
>m.ModalForm.Show(1)
>
>
>and attached picture.
>
>Meanwhile, I noticed that even with menu deactivation, the edit keyboard shortcuts are still functional in desktop modal forms. So, not everything is lost...
>
>Thanks again, Lutz, for your interest.

Try
LOCAL ModalForm AS Form

m.ModalForm = CREATEOBJECT("Form")
m.ModalForm.AddObject("tb", "TextBox")
m.ModalForm.tb.Visible = .T.
m.ModalForm.WINDOWTYPE = 1
m.ModalForm.Show(1)
does this disable the menu?
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform