Mr Uwe Thanks for all your suggestions. They are useful for improvement of the class. May I ask for a few clarifications? Please see your suggested code: IF ::nDegrade = 1nMid:=(nRight-nLeft)/2Gradient( ::hDC, { nTop, nLeft, nBottom, nRight-nMid }, nColor, LightColor(175,nC...