Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us

FlexCompress.Active

FlexCompress

Previous  Top  Next

Specifies whether or not an archive file is open.

 

[C#]

public bool Active { get; set; }

 

[VB.NET]

Public Property Active As Boolean

 

Description

 

Use Active to determine if archive file is opened or to open it. When Active is False, the archive is closed. When Active is True, archive file management is available.

 

Setting Active to True:

 

Opens archive specified by FileName property.
Triggers the AfterOpen event handler if one is defined for this component.

 

If an error occurs while opening the archive exception will be raised and archive file will be closed.

 

An application must set Active to False before creating new archive by calling OpenArchive with fmCreate mode.

 

Note:   Calling the OpenArchive method sets Active to True; calling the CloseArchive method sets Active to False.

        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Mar 28, 2024