PCS7添加查询曲线

 时间:2024-10-12 08:31:22

1、在画面中,插入picture windows控件 控件取名为,pop1

2、对显示的数值区域,右击属性,添加鼠标动作。

3、C动作代码如下#include "apdefap.h"void OnClick(char* lpszPictureNa罪焐芡拂me, char* lpszObjectName, char* lpszPropertyName){char* TemplateWindow = "pop1";char* TemplateTypePicture = GetPictureName(lpszPictureName,TemplateWindow);SetPictureName(lpszPictureName,TemplateWindow ,"pop_trend.PDL"); //Return-Type :BOOLSetVisible(lpszPictureName,TemplateWindow,1);SetLeft(lpszPictureName,TemplateWindow,640-GetWidth(lpszPictureName,TemplateWindow)/2); //Return-Type: long int//Return-Type :BOOLSetTop(lpszPictureName,TemplateWindow,512-GetHeight(lpszPictureName,TemplateWindow)/2);SetPropWord("pop_trend","Control1","index",0); //Return-Type: BOOLSetPropChar("pop_trend","Control1","Tagname","SystemArchive\\CDQ/AUX/SCALE/AIO_DEAL/FT110.OUT_ACT");SetPropChar("pop_trend","Control1","Name","流量");SetPropChar( lpszPictureName,TemplateWindow,"CaptionText","气体流量");SetPropWord("pop_trend","Control1","BeginValue",0);SetPropWord("pop_trend","Control1","EndValue",1000);}

  • win10防火墙命令教程怎么关闭
  • VMware虚拟机如何使用
  • Studio 5000如何删除程序内的安全密码
  • 在哪获取Windows Defender安全中心的详细信息?
  • 树莓派4怎么把菜单栏调整到下面
  • 热门搜索
    怎么样才能生孩子 冻伤的治疗方法 家庭腌咸鸡蛋的土方法 狐臭治疗方法 芦荟的养殖方法 包皮长怎么戴安全套 肘子的家常做法 军旗怎么下 怎么画粽子 查字典的方法有哪三种