Hello Martin.

Sorry to come back with this but I did not catch how to fire a event when
the right button is released from the slider-button.

I want to assign a event only when the button is released.

I did try with this tslider.onsetvalue:

procedure tsongplayer2fo.changepos(const Sender: TObject; var avalue:
realty; var accept: boolean);
begin
  if accept then
    uos_InputSeek(theplayer, Inputindex, trunc(avalue * Inputlen));
 end;

But that way, "accept" is always true, even when the button is not released.

Thanks.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to