[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

VB.net TreeView checkboxes too close to node image

Posted on 2014-12-29
2
Medium Priority
?
464 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:Murray Brown
[X]
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
2 Comments
 
LVL 24

Accepted Solution

by:
Bitsqueezer earned 2000 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:Murray Brown
ID: 40523452
Thanks very much for the help
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

650 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