This OCX is made by Michad Computer Consulting.

to use it just feed it the values for

start_red
start_green
start_blue
end_red
end_green
end_blue


to update it on resize or color change do this

on a timers timer event put this   (timer set to 100 ms)
(name you used for this control).redraw = time
timername.enabled=false


on the resize or click event (of the form or control that causes the recolor or resize)
timername.enabled=true




