Information générale
Catégorie:
Produits tierce partie
>>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
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