Why not just use a horizontal slide control on your UIR panel? I'm sorry I don't understand your (Italian?) comments or see what your problem is, but placing and editing a slide control in the UIR editor has to be easier than trying to create one in your program.