LOCAL cImg, cPict, cDownPict, cDisabledPict cPict = this.Picture cDisabledPict = this.DisabledPicture cDownPict = this.DownPicture IF NOT EMPTY(this.Picture) IF INLIST(UPPER(JUSTEXT(this.picture)),'PNG','GIF') cImg = 'btnImg'+JUSTSTEM(this.Picture)+JUSTEXT(this.Picture) IF TYPE('_screen.'+cImg) <> 'O' this.Picture = '' CLEAR RESOURCES cPict _screen.AddObject( cImg,'Image') _screen.&cImg..Picture = cPict this.Picture = cPict ENDIF ENDIF ENDIF IF NOT EMPTY(this.DisabledPicture) IF INLIST(UPPER(JUSTEXT(this.DisabledPicture)),'PNG','GIF') cImg = 'btnImg'+JUSTSTEM(this.DisabledPicture)+JUSTEXT(this.DisabledPicture) IF TYPE('_screen.'+cImg) <> 'O' this.DisabledPicture = '' CLEAR RESOURCES cDisabledPict _screen.AddObject( cImg ,'Image') _screen.&cImg..Picture = cDisabledPict this.DisabledPicture = cDisabledPict ENDIF ENDIF ENDIF IF NOT EMPTY(this.DownPicture) IF INLIST(UPPER(JUSTEXT(this.DownPicture)),'PNG','GIF') cImg = 'btnImg'+JUSTSTEM(this.DownPicture)+JUSTEXT(this.DownPicture) IF TYPE('_screen.'+cImg) <> 'O' this.DownPicture = '' CLEAR RESOURCES cDownPict _screen.AddObject(cImg,'Image') _screen.&cImg..Picture = cDownPict this.DownPicture = cDownPict ENDIF ENDIF ENDIF>Why in VFP 9 some (not all) Gif images in Command Button become opaque (white background) and in VFP 7 the same image is transparent?