Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynazip Minor/Major StatusFlag and progress problem
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00122989
Message ID:
00123016
Views:
25
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform