|
-
Oct 12th, 2001, 05:27 PM
#4
Lively Member
Yes.
Each event declaration will change, inserting a new parameter "Index". When the event is fired, the index parameter will indicate which lement of the array the event has come from therefore allowing you to respond using the same element.
With your original multiple instance method, you would have had to replicate each of the event handlers for each of the MSCOMM instances, with the control array, you have only one instance of each event handler.
I hope this clarifies things for you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|