|
-
Mar 18th, 2022, 08:28 PM
#10
Re: VB6 WebView2-Binding (Edge-Chromium)
 Originally Posted by BooksRUs
It would be wonderful if we could have an ARRAY of WV (with events)
The RC6.cEventCollection might be what you are looking for. I've adapted Olaf's original demo to show how you can use the cEventCollection with cWebView2 bound to a control array of PictureBoxes:
WebViewEventCollection.zip
The code should be fairly easy to understand on it's own - it's only slightly more complicated that it would be if we the cEventCollection had an Item property, but I've made do with a separate cArrayList to hold WV references that we can access via the cEventCollection Key property). Let me know if you have any questions though.
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
|