当前位置: 代码迷 >> VFP >> 怎么让字变颜色
  详细解决方案

怎么让字变颜色

热度:6858   发布时间:2013-02-26 00:00:00.0
如何让字变颜色?
我在timer中写

if   thisform.label2.forecolor   =   '0,255,255 '  
      thisform.label2.forecolor   =   '128,255,0 '
else   thisform.label2.forecolor   =   '128,255,0 '
      thisform.label2.forecolor   =   '0,255,255 '
但是不对
要怎么写

------解决方案--------------------------------------------------------
if thisform.label2.forecolor = 16776960 &&rgb(0,255,55)
thisform.label2.forecolor = 65408 &&rgb(128,255,0)
else
thisform.label2.forecolor = 16776960 &&rgb(0,255,55)
endif
  相关解决方案