• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
April 23, 2024, 07:50:28 am

News:

SMF - Just Installed!


Active property

Started by tomo, February 17, 2012, 07:06:34 am

Previous topic - Next topic

tomo

Hallo !
   
   I've started using nrCommLib components, but I have a lot of experience with Async professional components. I'm discovering some differences, so I have a question about Active property. Please explain the difference between setting property Active at:

        - nrDataProcessor and data packets (nrDataPacket) defined in this DataProcessor

When should I toggle this property ?

At Async Professional I also have Enabled property and AutoEnable property.
I set AutoEnable property to false and then each time my program exits
OnDataPacket event, I have to reenable this data packet. I prefer doing on
this way. What practice do you suggest for your components ?

Thanks for the answers.

Roman Novgorodov

Hello

Thank you for your information.

TnrDataProcessor.Active disables all component,
TnrDataPacket.Active disables single packet definition. You can disable/enable packet from OnPacket event if necessary.

Roman Novgorodov
DeepSoftware llc

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