The code is almost identical to oval shape control (found as other topic in this category).
Mainly the word "Ellipse" was changed to "Rectangle", a few minor changes to save original colors at Runtime and this control was born.
Download all 3 vb files and add them as Existing Item to PurchasedControls folder.