Unit MSComm

Classes

TMSComm - This is the TMSComm object

Functions

Register - FlushTX} { registers this VCL component and adds the icon to the palette

Types

TBaudRate
TCommEvent
TCommEvents
TDataBits
TFlowControl
TNotifyCommEventEvent
TNotifyErrorEvent
TNotifyReceiveEvent
TNotifyTransmitLowEvent
TParityBits
TStopBits

Constants

Variables


Functions


procedure Register;

FlushTX} { registers this VCL component and adds the icon to the palette

Types


TBaudRate    = (br110, br300, br600, br1200, br2400, br4800, br9600, br14400,
                  br19200, br38400, br56000, br128000, br256000);
These are the enumerated types supported by the TMSComm control
TCommEvent   = (ceRxChar, ceRxFlag, ceTxEmpty, ceCts, ceDsr, cdRlsd, ceBreak,
                  ceErr, ceRing, cePErr, ceCtss, ceDummy, ceRlsds );

TCommEvents  = set of TCommEvent

TDataBits    = (dbFour, dbFive, dbSix, dbSeven, dbEight);

TFlowControl = (fcNone, fcRTSCTS, fcXONXOFF);

TNotifyCommEventEvent   = procedure(Sender    : TObject;
                                      CommEvent : TCommEvents) of object
These are the events for the TComm object
TNotifyErrorEvent       = procedure(Sender    : TObject;
                                      CommErr   : Word;
                                      ErrStr    : String     ) of object

TNotifyReceiveEvent     = procedure(Sender    : TObject;
                                      Count     : Word       ) of object

TNotifyTransmitLowEvent = procedure(Sender    : TObject;
                                      Count     : Word       ) of object

TParityBits  = (pbNone, pbOdd, pbEven, pbMark, pbSpace);

TStopBits    = (sbOne, sbOnePointFive, sbTwo);

Constants


Variables