【NX二次开发】Block UI 字符串
2024-10-19 08:49:25
属性说明:
BlockID | String | 控件ID |
Enable | Logical | 是否可操作 |
Group | Logical | 是否分组 |
Label | Utfstring | 标题 |
Show | Logical | 是否可见 |
其他 | ||
AllowInternationalTextInput | Logical | 允许国际文本 |
IsPassword | Logical | 密码输入方式 |
Localize | Logical | 是否本地化 |
RetainValue | Logical | 是否保存值 |
附件 | ||
Bottom | Attachment | 底部 |
Left | Attachment | 左 |
Right | Attachment | 右 |
Top | Attachment | 顶部 |
特定于块 | ||
BalloonTooltipImage | String | 标题气泡提示图片 |
BalloonTooltipImages | Strings | 选项气泡提示图片 |
BalloonTooltipLayout | Enum | 气泡提示类型 |
BalloonTooltipText | Utfstring | 标题气泡提示文本 |
BalloonTooltipTexts | Utfstrings | 选项气泡提示文本 |
Bitmaps | Strings | 选项位图 |
MaxTextLength | Integer | 文本长度 |
PresentationStyle | Enum | 控件类型 |
ReadOnlyString | Logical | 文字是否可更改 |
Tooltip | Utfstring | 气泡文本标题 |
Value | String | 控件值 |
Width | Enum | 控件宽度 |
获得控件值并转换为string类型
1 NXString NXstrstring0 = "";
2 NXstrstring0 = this->string0->Value();
3 char crstring01[133] = "";
4 strcpy_s(crstring01, 133, NXstrstring0.GetLocaleText());
5 string strNum = crstring01;
设置控件值
1 string strString0_Value = "WPFXY";
2 this->string0->GetProperties()->SetString("WideValue", strString0_Value);
设置控件可见
1 this->string0->GetProperties()->SetLogical("Show", true);
最新文章
- Django模型的Field Types总结
- IOS 关于开发的APP跳转第三方应用的心得
- [Server] 搭建发布环境Web Deploy
- val()方法
- ubuntu下配置lamp环境
- Ruby On Rails 常用的精品Gem汇总
- “未能加载文件或程序集“EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”
- POJ2762 Going from u to v or from v to u?(判定单连通图:强连通分量+缩点+拓扑排序)
- 八、Linux下的网络服务器模型
- 重构25-Introduce Design By Contract checks(契约式设计)
- Sping表达式语言--SpEL
- hdu 4472 Count(递推即dp)
- C# 加密可逆
- 转:【Java并发编程】之八:多线程环境中安全使用集合API(含代码)
- K:HashMap中hash函数的作用
- avue的小白之路
- MYSQL 文件类型
- MySQL基础(二):视图、触发器、函数、事务、存储过程
- 首屏渲染时间获取 performance.now()
- 5分钟速成C++14多线程编程
热门文章
- 解决移动端300ms延迟fastclick
- 脱壳入门----脱ASPack壳保护的DLL
- Codeforces Round #692 (Div. 2, based on Technocup 2021 Elimination Round 3)
- SpringBoot简明教程
- 基于虹软人脸识别,实现RTMP直播推流追踪视频中所有人脸信息(C#)
- [Django框架之路由层匹配、有名 无名分组、反向解析、路由分发、名称空间、伪静态、本地虚拟环境、django版本区别]
- ES6新增数组的一些思考和使用
- CentOS8.2集成的megaraid_sas版本不支持IBM X3850 X5内置RAID卡。需要更新https://docs.broadcom.com/docs/MR_LINUX_DRIVER_7.15-07.715.02.00-1-PUL.tgz
- 【转载】搭建本地yum源:以下是以centos7为例子
- Zabbix 自定义report