VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Withevents Control Array Workaround

by David Breau (4 Submissions)
Category: Coding Standards
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

One limiting thing about VB is the inability to use the withevents keyword with a control array or any array. This is probably the simplest way to get around that. It involves using two classes. The backend class acts as the skeleton which declares "Public withevents object as object type" The front end class (the class with which you will interface) gets around array withevents by creating an array of the backend class thus creating a withevents array of objects.
Difficult to explain but easy to understand once you download it now. Dont forget to vote............for Ron Paul :)

Side Effects
Increase knowledge of VB and a greater love of me :)

Rate Withevents Control Array Workaround

Download Withevents Control Array Workaround

Download Withevents Control Array Workaround (4 KB)

Withevents Control Array Workaround Comments

No comments have been posted about Withevents Control Array Workaround. Why not be the first to post a comment about Withevents Control Array Workaround.

Post your comment

Subject:
Message:
0/1000 characters