Someone published an article in FoxPro Advisor a while back which outlined a class to do this. It was called a colorbar, and contained shape objects, each of which was a different color. Its operation consisted of dragging one of these shapes over to a form, text box, edit box, etc., resulting in the change in color of the target control.