当前位置:网站首页>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
边栏推荐
- Fast development board for Godson solid state drive startup (burning system to solid state) - partition
- Netease game Flink SQL platform practice
- Managing databases in a hybrid cloud: eight key considerations
- [Bert] transformer/bert/attention interview questions and answers
- Pit record: typeerror:'module'object is not callable
- Use es to realize fuzzy search and search recommendation of personal blog
- How to use measurement data to drive the improvement of code review
- Redis memory analysis tool RMA usage
- Number of palindromes in question 5 of C language deduction (two methods)
- Palm package manager of kubernetes learning offline installation of NFS client provider
猜你喜欢

软考 --- 程序设计语言基础(下)

Daily question 1 · 1260. Two dimensional network migration · simulation

js && ||

c语言:深度刨析函数栈帧

SQL file import database - Nanny level tutorial

Leetcode 1260. two dimensional grid migration: two solutions (k simulations / one step)

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

NXP i.mx6q development board software and hardware are all open source, and the schematic diagram of the core board is provided

The model needs to use two losses_ FN, how to operate?

Principle of data proxy
随机推荐
Principle of data proxy
2022 Henan Mengxin League game (2): Henan University of technology d-pair
动态规划-01背包滚动数组优化
@Mapkey usage instructions
The troubleshooting process of a segment error (disassembly address troubleshooting)
First experience of flask
RS note: industry recommendation system YouTube DNN model (recall layer + sorting layer) [2016 youtube]
ROS机械臂 Movelt 学习笔记3 | kinect360相机(v1)相关配置
SQL rewriting Series 6: predicate derivation
Paper time review MB2: build a behavior model for autonomous databases
Measurement and Multisim Simulation of volt ampere characteristics of circuit components (engineering documents attached)
Server intranet and Extranet
Mobile terminal touch event
Nodejs package
Redis memory analysis tool RMA usage
LeetCode_392_判断子序列
在混合云中管理数据库:八个关键注意事项
Pain and happiness -nio programming
Weekly summary (*66): next five years
MySQL common basic commands