当前位置:网站首页>零基础学习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控件的

总结


- 要有最朴素的生活,最遥远的梦想,即使明天天寒地冻,路遥马亡!
- 如果这篇博客对你有帮助,请 “点赞” “评论”“收藏”一键三连 哦!码字不易,大家的支持就是我坚持下去的动力。
边栏推荐
- Five best WordPress advertising plug-ins
- Google Earth engine - QA in Landsat 5 toa dataset_ Pixel and QA_ Radsat band
- MySQL - lock
- Mysql InnoDB下联合索引的索引数量?
- App automation and simple environment construction
- MySQL - 唯一索引
- [correcting Hongming] what? I forgot to take the "math required course"!
- [carving master learning programming] Arduino hands-on (59) - RS232 to TTL serial port module
- Golang migrate is easy to use
- Programmers can't JVM? Ashes Engineer: all waiting to be eliminated! This is a must skill!
猜你喜欢

Nirvana rebirth! Byte Daniel recommends a large distributed manual, and the Phoenix architecture makes you become a God in fire

MySQL - 唯一索引
![[personal summary] end of July 17, 2022](/img/56/8c69b171140ca38e16f0bbb7f344e3.jpg)
[personal summary] end of July 17, 2022

Machine learning quiz (10) using QT and tensorflow to create cnn/fnn test environment

常量指针、指针常量

Sentinel three flow control effects

Record AP and map calculation examples

PC博物馆(1) 1970年 Datapoint 2000

Association Rules -- July 10, 2022

OSPF includes special area experiments, mGRE construction and re release
随机推荐
Binary search method
Qt程序最小化托盘后,再弹出个msgbox,点击确定后程序退出问题解决
Arduino + AD9833 波形发生器
Create a vertical seekbar from scratch
Onpropertychange event "suggestions collection"
Erlang studies abroad
PC Museum (2) 1972 hp-9830a
Domain Driven practice summary (basic theory summary and analysis + Architecture Analysis and code design + specific application design analysis V) [easy to understand]
Volcanic engine: open ByteDance, the same AI infrastructure, a system to solve multiple training tasks
Simply use golang SQLC to generate MySQL query code
[dish of learning notes dog learning C] initial level of structure
App automation and simple environment construction
Mysql InnoDB下联合索引的索引数量?
Partition data 1
MySQL——锁
The role of glpushmatrix and glpopmatrix
Sentinel implements the persistence of pull pattern rules
Windows virtual machine security reinforcement process steps, detailed description of windows setting security policy, detailed description of win7 setting IP security policy, windows setting firewall
What is NFT? How to develop NFT system?
数组元素移除问题
