Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

VB.net TreeView checkboxes too close to node image

Posted on 2014-12-29
2
401 Views
Last Modified: 2014-12-30
Hi

I have TreeView in my VB.net project where I set the CheckBoxes to True to facilitate the selection of multiple
nodes. As shown in the image the checkboxes are too close to the node images. How can I space them out a little more?

1
0
Comment
Question by:murbro
2 Comments
 
LVL 24

Accepted Solution

by:
Bitsqueezer earned 500 total points
ID: 40523260
Hi,

as far as I know there is no possibility to configure the distance of the checkboxes in Windows Forms. You only have two possibilities: If you use WPF instead you can create controls on your own by assembling the elements, but that would mean to redesign the complete application and a lot of additional programming to create the TreeView logic on your own.
Another workaround could be to redesign your icons so that the graphic itself contains enough free space that it would look like as if the checkboxes would have more space between them and the icon.

Cheers,

Christian
0
 

Author Closing Comment

by:murbro
ID: 40523452
Thanks very much for the help
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question