技术论坛

回复:各位高人,求教关于布局的问题??

作者 主题
侠士

经验值: 1147
发帖数: 282
精华帖: 4
回复:各位高人,求教关于布局的问题??


只看楼主 2005-07-19 10:02:45
int i;
char *buffer[10]={"Button1","Button2","Button3","Button4","Button5","Button6","Button7","Button8","Button9","Button10"};

SetPropChar("main.pdl","win1","PictureName","aralm.pdl");
for (i=1;i<=10;i++)
{
if (i == 2)
{
SetPropWord(lpszPictureName,lpszObjectName,"BackColor",8421376);
SetPropWord(lpszPictureName,lpszObjectName,"BorderColorTop",4210688);
SetPropWord(lpszPictureName,lpszObjectName,"BorderColorBottom",16777215);
}
else
{
SetPropWord(lpszPictureName,buffer[i-1],"BackColor",13160661);
SetPropWord(lpszPictureName,buffer[i-1],"BorderColorTop",16777215);
SetPropWord(lpszPictureName,buffer[i-1],"BorderColorBottom",8421504);
}

ZL
以下网友喜欢您的帖子:

  
重要声明:

著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

帖子链接:https://www.ad.siemens.com.cn/club/bbs/post.aspx?a_id=149326&b_id=5&s_id=0&num=0

  • 上一页
  • 1
  • 下一页
收起
回复:各位高人,求教关于布局的问题??
×
扫描打开手机版
您收到0封站内信:
×
×
信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。