>>>>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
Précédent
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