Backcolor = 255,255,128 Colorsource = 0 SpecialEffect = 2 Themes = .F.>
>IF TYPE('this.Down') = 'U' > This.AddProperty('Down',.T.) >ELSE > This.Down = !This.Down >ENDIF >IF This.Down > this.VisualEffect= 2 > This.Down = .T. > This.Themes = .T. >ELSE > This.VisualEffect = 0 > This.Down = .F. > This.Themes = .F. > this.BackColor = RGB(255,255,128) > This.SpecialEffect= 2 > >ENDIF >>
>LPARAMETERS nButton, nShift, nXCoord, nYCoord >IF TYPE('This.Down') != 'U' > > IF This.Down > this.VisualEffect= 2 > this.BackColor= RGB(192,192,192) > ENDIF >ENDIF >>
>LPARAMETERS nButton, nShift, nXCoord, nYCoord >IF TYPE('This.Down') != 'U' > IF This.Down > this.BackColor = RGB(255,255,128) > ENDIF >ENDIF >>