Kadmos.com


?>

  Home | Products | Download | Purchase | Support | Language

Products
DXFReader ActiveX Control

IXF ActiveX Control

Postel ActiveX Control
 • Postel Files Overview
 • Distribution
 • Installation
 • Quick Start
 • Control Summary
 • Download
 • Buy now!
 • Postel Reference
  • Properties
  • Methods
  • Events
   • Error
   • WriteStatus


Tech Support
OnLine Support
Phone Support
Sample Code
Registered Users
FAQ
References
Kadmos
Contact Kadmos
Environment
Customer List
Newsletter
Download
ActiveX Controls
Updates
Purchase
Price List
International Resellers
Our Guarantee
Shipment Options
Payment Options
Shopping Cart
    Postel Control - WriteStatus Event

Kadmos Postel ActiveX Control      Previous
Postel Control
WriteStatus Event

Description Fired while batch file is being generated. Attivato durante la generazione del file di lotto.
Syntax Private Sub Postel_WriteStatus(TotalRecords As Long, ProcessedRecords As Long)
Remarks The WriteStatus event is fired while a batch file is being written. This event lets you know how close to completion the operation is and may be used to display a progress bar or other status indicator.

The following code, inserted in the WriteStatus event, will show a progress bar during gereation of batch file:

If ProcessedEntities = 0 Then
    ProgressBar1.Visible = True
    ProgressBar1.Value = 0
    ProgressBar1.Min = 0
    ProgressBar1.Max = TotalRecords
End If

ProgressBar1.Value = ProcessedRecords

If ProcessedRecords = TotalRecords Then
    ProgressBar1.Visible = False
End If


The parameters for the WriteStatus event are described below:

ParameterDescription

TotalRecordsA long integer that specifies the total number of records of the exported table.
ProcessedRecordsA long integer that specifies the number of the record being written.

Copyright © 2001/2011 Kadmos.com - All rights reserved. Privacy Policy