Op 23-03-16 om 19:13 schreef Ru Vuott: >> Is it possible with Mediaview to detect if the stop button is pressed > > I suggest .......... > > ************************************* > Public Sub Form_Open() > > Dim ob As Object > > ob = MediaView1.Children[0] > ob = ob.Children[0] > ob = ob.Children[2] > Object.Attach(ob.Children[2], Me, "STOP") > > End > > > Public Sub STOP_Click() > > Print "stop !" > > End > ************************************* > > Regards > vuott > > > > > > -- > It's working (even the play and pause buttons) , thanks I certainly have to learn some more about objects.
Regards Johny ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user