Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable Controls on Subordinate Form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Disable Controls on Subordinate Form
Divers
Thread ID:
00008578
Message ID:
00008578
Vues:
92
In my VFP3 application, my main form contains a number of buttons and
controls. The buttons are used to activate a number of other forms. When I pop-up the subordinate form, _all_ the controls on the form are disabled - even when I explicitly enable them programatically.

All the controls are placed directly on the form. When I suspend execution of the debugger and display the value of the various control's "enabled" property, the value is always .t. All the fields stay grayed out and I cannot place the cursor on any of the fields by clicking on the field with the mouse or by tabbing to them..

The "DataSession" property is set to the "Default Data Session" to use the main form's data environment. The two buttons on the subordinate form, Ok and Cancel work fine! I have also tried THISFORM.setAll('enabled',.t.)
which had the same effect as above.

Your help and advise would be appreciated. Thanks.

Mario
Mario DeMello
Halifax, Nova Scotia
Canada
mdemello@dda.ns.ca
www.dda.ns.ca
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform