>lnEndR = 255 >lnEndG = 255 >lnEndB = 255 > >lnColor = GetSysColor(COLOR_HIGHLIGHT) >lcRGB = x7colortorgbstring(m.lnColor) && VMP function > >lnStartR = VAL(STREXTRACT(lcRGB,"(", ",")) >lnStartG = VAL(STREXTRACT(lcRGB,",", ",")) >lnStartB = VAL(STREXTRACT(lcRGB,",", ")",2)) > >this.imggradient.Picture = CreateGradient8( lnStartR, lnSTartG, lnSTartB, lnEndR, lnEndG, lnEndB) >this.imggradient.RotateFlip = 1 > >this.imggradient.Move( 0, 0, thisform.Width, 25 ) >this.imggradient.Stretch = 2