Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynazip Minor/Major StatusFlag and progress problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00122989
Message ID:
00123016
Vues:
24
>>Hi,
>>
>> I am new to dynazip. Heard that it is good. But I had difficulty using the progress indicator.
>>
>> I had set the minorstatusflag & majorstatusflag to .T.
>>and use the zipminorstate event procedure to display the dynazip control status like this
>>
>>THISFORM.oleStatus.StatusPercent = Percent
>>THISFORM.oleStatus.StatusText = itemname
>>
>>where the percent and itemname is pass to us by the event procedure.
>>
>>I can zip up the file but the indicator or progress indicator didn't display anything at all. Did I miss any setting.
>>
>>Any help or advise is very much appreciated.
>
>Hi Virusim,
>
>You need to set the VFP.Autoyield property to False. This allows the Dynazip library to fire additional methods (Progress routines), otherwise AutoYield set to True doesn't allow outside events to occur.
>
>DJ

You're not still stuck in VFP 3 like me, are you? If so, you won't be able to use code in the dynazip's own objects. You'll have to use DZPROG, which is less flexible, but works.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform