当前位置:网站首页>This visual is not connected to the presentationsource.
This visual is not connected to the presentationsource.
2022-07-25 00:30:00 【solar storm】
this Visual Not connected to PresentationSource.
One 、 Problem description
1. Screenshot of the problem
- Problem code :

- Front end interface diagram :

2. Overview of the situation
Calculate one when the window is resized TreeView Control 、 And one. ListBox The height value of the control , This TreeView Control 、ListBox Control is located in TabControl Position inside , Click on Content - Indexes The error was reported after the project
Two 、 Cause analysis
This is because TabControl Only one interface can be displayed at a time , The corresponding interface location will be hidden , Lead to BookMarkTree.PointToScreen() Acquisition failure , Cause error .
3、 ... and 、 terms of settlement
1. Screenshot of solution result

2. Solution Overview
Cannot get the location of the hidden control . We can change the location reference of the developing control without changing it , I chose this TabControl Control location , Use this position to calculate TreeView Height
边栏推荐
- Promtool Check
- EF core :自引用的组织结构树
- RS note: industry recommendation system YouTube DNN model (recall layer + sorting layer) [2016 youtube]
- LeetCode_ 392_ Judgement subsequence
- 2022 Henan Mengxin League game (2): Henan University of technology d-pair
- Oracle is not null cannot filter null values
- Advanced function of postman
- mysql初次安装的root密码是什么
- 3. Pressure test
- Research and Multisim Simulation of linear circuit characteristics (engineering documents attached)
猜你喜欢

4. Immersion test

Qt学习-利用数据库单例完成 登录匹配 + 注册 功能实现

2022 Henan Mengxin League game 2: Henan University of technology K - Rice

Dynamic programming-01 knapsack rolling array optimization

3. Pressure test
![[hero planet July training leetcode problem solving daily] 24th line segment tree](/img/ae/1f3288a99cb07fcbb1836357e0229a.png)
[hero planet July training leetcode problem solving daily] 24th line segment tree
![[Bert] transformer/bert/attention interview questions and answers](/img/32/5d29ce8056df16211630c3384adcf4.png)
[Bert] transformer/bert/attention interview questions and answers

Kubernetes application design guide

数组中只出现一次的两个数字

The font changes with the change of the form
随机推荐
Find the median of two numbers in the fourth question of C language deduction (three methods)
采坑记录:TypeError: 'module' object is not callable
RS note: industry recommendation system YouTube DNN model (recall layer + sorting layer) [2016 youtube]
Research and Multisim Simulation of linear circuit characteristics (engineering documents attached)
js && ||
Uncaught typeerror: cannot read properties of null (reading 'append') solution
2022 Henan Mengxin League game 2: Henan University of technology K - Rice
C language force buckle the eleventh question to find the maximum capacity of the bucket. (two methods)
[help] mindspire training based on ascend910 cannot reproduce the model effect on GPU
Sql文件导入数据库-保姆级教程
LeetCode_392_判断子序列
Grafana - influxdb visual K6 output
Qt项目-安防监控系统(各个界面功能实现)
Pit record: typeerror:'module'object is not callable
Redis6.2 SYSTEMd startup prompt redis service: Failed with result ‘protocol‘.
How to make five kinds of data structures in redis
[hero planet July training leetcode problem solving daily] 24th line segment tree
BGP machine room and BGP
NVIDIA inspector detailed instructions
@Mapkey usage instructions