Solved

VB.net TreeView checkboxes too close to node image

Posted on 2014-12-29
2
365 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that undeā€¦
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

705 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now