Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
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