Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enable a form
Message
From
05/01/1998 12:01:42
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00068674
Message ID:
00069549
Views:
34
>>>>If a form is disenabled during run time by mistake, is there any way to enabled it again or close it without quitting VFP? Thanks.
>>>>
>>>>
>>>>Chu
>>>
>>>Chu,
>>>
>>>I don't know how to "disenable" a form, exactly what are you talking about? Can you show what you are doing to "disenable" the form?
>>
>>Actually, I have 3 forms in a formset. When one is enabled, I disabled one of the other but not both by setting enabled=.F. But sometime, due to the programme error, all three forms are "disabled" and visible=.F. also. After that, I cannot close the formset and cannot modify the form unless quitting VFP. So, I would like to know if there is any other way except quittin gVFP. Thanks.
>>
>>Chu
>Chu,
>
>If you can get to the command window you can CLEAR ALL there to get rid of the formset.

I tried "CLEAR ALL", but it didn't work. I tried

_screen.forms(form_no).visible = .t.
_screen.forms(form_no).enabled = .t.

where form_no is 1 to 3 on command window and it works nicely. Thanks.

Chu
Previous
Reply
Map
View

Click here to load this message in the networking platform