Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable Controls on Subordinate Form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Disable Controls on Subordinate Form
Miscellaneous
Thread ID:
00008578
Message ID:
00008578
Views:
94
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
Next
Reply
Map
View

Click here to load this message in the networking platform