按钮变三种颜色
#include "apdefap.h"
long _main(char* lpszPictureName, char* lpszObjectName, char* lpszPropertyName)
{
#pragma option(mbcs)
if(GetTagWord("TX/ZSH001")==1)
return 0x0000ff00;
else
if(GetTagWord("TX/ZSL001")==1)
return 0x000000ff;
else
return 0x00c0c0c0;
}
一个调用按钮变色
#include "apdefap.h"
long _main(char* lpszPictureName, char* lpszObjectName, char* lpszPropertyName)
{
#pragma option(mbcs)
if(GetTagWord("NewTag")==0)
return 0x0000ff00;
else
return 0x00ffffff;
}