当前位置:网站首页>零基础学习CANoe Panel(9)—— 组合框(ComboBox)
零基础学习CANoe Panel(9)—— 组合框(ComboBox)
2022-07-24 10:41:00 【蚂蚁小兵】
- 我是蚂蚁小兵,专注于车载诊断领域,尤其擅长于对CANoe工具的使用
- 寻找组织 ,答疑解惑,摸鱼聊天,博客源码,点击加入【相亲相爱一家人】
- 零基础学习CANoe Panel设计目录汇总,点击跳转
前言
- 组合框(
ComboBox)用来显示一组可选值,比如串口通讯中的Port口,波特率,都可以通过组合框来实现从已知的多个选项中选择其中一个 - 演示软硬件环境
Windows11 x64;CANoe 11 SP2 x64

组合框(ComboBox)

1️⃣ 组合框(ComboBox)需要先绑定symbol 才能设置其它属性,而且需要symbol 设置了value table才行,因为 组合框(ComboBox)本身是无法输入的,只能显示并通过下拉来选择。

2️⃣ 创建的系统变量Port 属性配置Value Table
3️⃣绑定了symbol之后,我们在canoe 环境中,就能看到设置的值了。
主要属性设置
下拉列表样式
- 有三种选择:
Drop Down List,Simple list,Flat Drop Down List选择默认的Drop Down List就好了,其它两种不好看
文本位置
文本相对控件的位置,就没什么好说的,主要说下
Hide Text,有时候多个组合框,我们想要更好的对其,我们可以把组合框自身的Text 给hide掉,然后用static text 控件

展开时,可见选项数量
- 设置成 8 ,则只能显示8个,默认全部显示

组合框内字体和颜色设置
如下图,左边是设置文本字体和颜色的;右边才是设置
ComboBox控件的

总结


- 要有最朴素的生活,最遥远的梦想,即使明天天寒地冻,路遥马亡!
- 如果这篇博客对你有帮助,请 “点赞” “评论”“收藏”一键三连 哦!码字不易,大家的支持就是我坚持下去的动力。
边栏推荐
- MySQL——锁
- cookie sessionStorage localStorage 区别
- Erlang学习01
- Golang migrate is easy to use
- Binlog and iptables prevent nmap scanning, xtrabackup full + incremental backup, and the relationship between redlog and binlog
- MySQL - 普通索引
- Configuration description and componentization development steps of various documents in the scaffold
- ZOJ 2770 differential restraint system -- 2 -- May 20, 2022
- Five best WordPress advertising plug-ins
- Array element removal problem
猜你喜欢

Sentinel 实现 pull 模式规则持久化

分布式事务处理方案大 PK!

In depth analysis of common cross end technology stacks of app
![When to use obj['attribute name'] for the attribute name of an object](/img/ec/cd265444b60d2d2da646ae64aab267.png)
When to use obj['attribute name'] for the attribute name of an object

【微服务】Eureka+Ribbon实现注册中心与负载均衡

What is NFT? How to develop NFT system?

Will not be rejected! Learn the distributed architecture notes sorted out by Alibaba Daniel in 35 days, with a salary increase of 20K

Rtklib source code, RTK difference calculation, rtkpos and replos function process sorting

NiO knowledge points

CMS vulnerability recurrence - ultra vires vulnerability
随机推荐
Qt创建应用程序托盘及相关功能
binlog、iptables防止nmap扫描、xtrabackup全量+增量备份以及redlog和binlog两者的关系
划分数据2
Design of dual machine hot standby scheme
MySQL - lock
MySQL - 索引的隐藏和删除
When to use obj['attribute name'] for the attribute name of an object
PC博物馆(2) 1972年 HP-9830A
Constant pointer, pointer constant
How to gracefully realize idempotency and distributed current limiting of distributed interfaces (glory Collection Edition)
MySQL——锁
QT application prevents multiple opening, that is, single instance operation
OSPF含特殊区域实验,MGRE构建和重发布
【微服务】Eureka+Ribbon实现注册中心与负载均衡
Try the video for 5 minutes [easy to understand]
MySQL - full text index
In depth analysis of common cross end technology stacks of app
What is NFT? How to develop NFT system?
[carving master learning programming] Arduino hands-on (59) - RS232 to TTL serial port module
Arduino + AD9833 波形发生器
