A alan1968 Active Member Licensed User Longtime User Mar 22, 2013 #1 hello, I have several VideoView which shares the same event "videoproject_Complete" VideoView each has a different tag that corresponds to the index, how to get the tag in the event "complete" a bit like "sender" does it with a label or button. Thx!
hello, I have several VideoView which shares the same event "videoproject_Complete" VideoView each has a different tag that corresponds to the index, how to get the tag in the event "complete" a bit like "sender" does it with a label or button. Thx!
NJDude Expert Licensed User Longtime User Mar 22, 2013 #2 Something like this: B4X: Sub VideoProject_Complete Dim S As VideoView S = Sender ToastMessageShow(S.Tag) End Sub I haven't test it the code but should work. Upvote 0
Something like this: B4X: Sub VideoProject_Complete Dim S As VideoView S = Sender ToastMessageShow(S.Tag) End Sub I haven't test it the code but should work.
A alan1968 Active Member Licensed User Longtime User Mar 22, 2013 #3 This is the first thing I tried, but VideoViewWarpper cannot be cast .. Attachments vv.jpg 28.3 KB · Views: 176 Last edited: Mar 22, 2013 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 24, 2013 #4 This is a bug. It will be fixed in the next update. You will need to use different EventNames. Upvote 0