Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing form necessary?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00027623
Message ID:
00027664
Vues:
50
>>>I have a form with 3 command buttons and when I click on
>>>command1, it does a report preview and then when finished, the form comes back with only command1 button
>>>showing. Do I need to refresh somehow? how?
>>
>>Before you call the report
>>
>>thisform.lockscreen=.t.
>>&& <--- call the report
>>thisform.lockscreen=.f.
>>thisform.refresh()
>>
>>It's in my CommandButtonOK button but I believe that's what I've got there. (Have'nt looked at it in ages.)
>>
>>The screen ALWAYS comes back.
>***********************************
>THe below is the very simple code inside my command1 button:
>
>[[ jean.lockscreen=.t. <====your suggested code
> * <--- call the report
> *thisform.lockscreen=.f.
> *&&thisform.refresh()
>
>
>use csulog7
>set filt to
>set filt to isalp(left(method,1)) .and. subs(method,2,1)='9'
>b='z'+sys(2)+'.idx'
>inde on jon to &b
>repo form jean prev
>jean.lockscreen=.f.
>jean.refresh() ]]]]
>
>I get error mess "object jean is not found" on this line when
>I exit the report form. ANY IDEAS????
>
>"jean.lockscreen=.f."

try [thisform] instead of the form name
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform