Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top Level form close button
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00925605
Message ID:
00925619
Vues:
24
Hi Sergey

In this case I have to turn the top level form off and on as there is just about always at least one subform open but yes that works just fine.

Thanks

>Geoff,
>
>Try
Thisform.Closable = .F.
>Thisform.Closable = .T.
>
>>
>>I have a top level form that has sub forms (in-top-level forms). The main sub form is modeless (a transaction list) but all other sub forms are modal.
>>
>>If data is changed in the modal sub form then the user is pronpted via a messagebox to save the data. The opening of the messagebox in turn disables the close window buttom in the top level form and the only way to reactive it is to change to another window and back.
>>
>>Unfortunately, using the debugger to track this is ineffective because it is in effect changing window. I have tried setting the .closeable flag in the top-level window but this has no effect.
>>
>>Could some kind soul please advise me what flag I need to set to re-enable the close window button?
>>
May all your weeds be wildflowers
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform