[Gambas-user] R: Mediaview

Johny Provoost johny.provoost at ...27...
Wed Mar 23 20:20:48 CET 2016



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





More information about the User mailing list