Ben Taylor wrote:
> usually I'd design components slightly differently. the example below
> means the thread has no dependencies on the form (proper encapsulation
> etc).. also needs no globals, critical sections, timers, circular
> 'uses' clauses...
Good point, and I totally agree with it.
In reality, my component does not have any of the "goodies" mentioned and is
form independent. The thing I was trying to achieve was to implement some
temporary functionality, that was later to be removed. I didn't mind it to
be "dirty" for as long as it worked and I was getting some visual feedback,
since I needed it to test a set of different protocol commands and their
structures (due to the lack of a spec).
Thank you for the example though. I'll keep it in mind for future.
Best regards,
Sergei Stenkov
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/