Moving Blizzard frames with the same method is no problem aswell.
Lua Code:
--making the colorpicker frame movable
local cpf = ColorPickerFrame
local mover = CreateFrame("Frame", nil, cpf)
mover:SetPoint("TOP",0,0)
mover:SetSize(120,15)
mover:EnableMouse(true)
mover:SetScript("OnMouseDown", function(self,button,...)
if button == "LeftButton" then
cpf:StartMoving()
end
end)
mover:SetScript("OnMouseUp", function()
cpf:StopMovingOrSizing()
end)
cpf:SetUserPlaced(true)