Creating/simulating of a seekbar

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey for Windows 4.

Moderators: Gurus, Addon Administrators

Andreas Weichert
Posts: 57
Joined: Fri Apr 05, 2013 4:51 am
Contact:

Creating/simulating of a seekbar

Post by Andreas Weichert »

I need a continious seekbar. Click on a position and get its value.
But the common seekbar behaves like a spin-button - it increments/decrements the value.
Therefore I look for a OnMouseDown-event which delivers me a x,y position to simulate a seekbar with other controls.

But I cannot fiqure out how to link a OnMouseDown event. Nothing works !!!

Script.RegisterEvent Btn3, "OnMouseDown", "TestMD"
Script.RegisterEvent Panel, "OnMouseDown", "TestMD"

Besides:
It is possible to give a panel or a button an other color?
My Scripts
Take a look on my Android app Time Sheriff – the extensive all-in-one timer/reminder.