Re: [Gambas-user] R: Mediaview

2016-03-23 Thread Johny Provoost


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=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] R: Mediaview

2016-03-23 Thread 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







Mer 23/3/16, Johny Provoost  ha scritto:

 Oggetto: [Gambas-user] Mediaview
 A: gambas-user@lists.sourceforge.net
 Data: Mercoledì 23 marzo 2016, 10:16
 
 Is it possible with Mediaview to
 detect if the stop button is pressed, and
 is it possible to detect if the thing you playing is ended.
 
 
 -- 
 
 
 
 *Vriendelijke Groeten*
 
 *Johny Provoost*
 
 *mailto: johny.provo...@skynet.be
 *
 
 *mailto: johny.provo...@gmail.com
 *
 
 *Website:* *http://www.johnyprovoost.net* 
 
 
 
 --
 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=/4140
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
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=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user