Kadmos.com


?>

  Home | Products | Download | Purchase | Support | Language

Products
DXFReader ActiveX Control
 • DXF Files Overview
 • Distribution
 • Installation
 • Quick Start
 • Control Summary
 • Download
 • Buy now!
 • DXFReader Reference
  • Properties
  • Methods
  • Events
   • Click
   • DblClick
   • Error
   • KeyDown
   • KeyPress
   • KeyUp
   • MouseDown
   • MouseMove
   • MouseUp
   • PlotStatus
   • ReadStatus
   • RegenStatus
   • WriteStatus

 • DXFPlot Reference

IXF ActiveX Control

Postel ActiveX Control

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
    DXFReader Control - ReadStatus Event

Kadmos DXFReader ActiveX Control      Previous Next
DXFReader Control
ReadStatus Event

Description Fired while a DXF file is being read.
Syntax Private Sub DXFReader_ReadStatus(TotalBytes As Long, ProcessedBytes As Long)
Remarks The ReadStatus event is fired while a DXF file is being read. 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 ReadStatus event, will show a progress bar during read:

If ProcessedBytes = 0 Then
    ProgressBar1.Visible = True
    ProgressBar1.Value = 0
    ProgressBar1.Min = 0
    ProgressBar1.Max = TotalBytes
End If

ProgressBar1.Value = ProcessedBytes

If ProcessedEntities = TotalBytes Then
    ProgressBar1.Visible = False
End If


The parameters for the ReadStatus event are described below:

ParameterDescription

TotalBytesA long integer that specifies the total number of bytes of the DXF file.
ProcessedBytesA long integer that specifies the number of bytes read.

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