Author Topic: nrComm1->ConfigDialog() changes all comports simultaniosly  (Read 2245 times)

Brett

  • Guest
nrComm1->ConfigDialog() changes all comports simultaniosly
« on: November 06, 2008, 03:43:30 am »
Hi
When I use nrComm1->ConfigDialog()  to pop up the com port config diaolg and then change a setting.
 The change appears to have happend Globally to all available com ports.
If I select another comport in nrDeviceBox1 and then nrComm1->ConfigDialog()   the selected comport is also changed to the other ports settings

I have checked the Comport Property nrComm1->ComPort and ComPortNo and they do in fact change when a new com port is selected in nrDeviceBox1.

Any Ideas?
Thanks

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: nrComm1->ConfigDialog() changes all comports simultaniosly
« Reply #1 on: November 06, 2008, 07:48:48 am »
Hello

The settings are not global for whole system.
When you change the settings for serial port, you change the properties of the current TnrComm instance.
And this changes will be applyed if you will select other port and open it.

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.