Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closable
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00769659
Message ID:
00769914
Vues:
18
Tried it and sure enough myform is an array created by VFP that contains all the properties of the main form. However, when the Message box appears on the modal form, the closable "X" is disabled. On the return to the main form, the "X" remain disabled even though myform.closable = .t. has been set five times and the form refreshed twice. The linkage works I used it as
In the amin program I declare the var as public
PUBLIC gl_mainform
in the menu I call the form
do myform NAME gl_mainform Linked
and in the activate of this form I have code that goes

DO mainform
mainform.cmdsrch.click

When I leave mainform to a modal form and a data check error occurs with a messagebox() the "X" marked for closing gl_mainform becomes disabled. On the exit of this modal form I have set gl_mainform.closable = .t.

on the return to the main form I have the clode gl_mainform.refesh

Closable remains disabled!!!!

Sanduy
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform