hello
Baudrate of TLazSerial component is an enum :
type
TBaudRate=(br___110,br___300, br___600, br__1200, br__2400, br__4800,
br__9600,br_14400, br_19200, br_38400,br_56000, br_57600,
br115200,br128000, br230400,br256000, br460800, br921600);
to use it in your project , for example create const array of something in your project :
const
BaudInt: array[TBaudRate] of integer=(110,
300, 600, 1200, 2400, 4800, 9600,14400, 19200, 38400,56000, 57600,
115200,128000,230400,256000, 460800, 921600);
BaudString: array[TBaudRate] of string=('110',
'300', '600', '1200', '2400', '4800', '9600','14400','19200','38400','56000',
'57600','115200','128000','230400','256000', '460800', '921600');
For example to read baudrate as string of your Serial1 TLaserial component :
ShowMessage(BaudString[Serial1.BaudRate]);
Friendly, J.P