Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Visual Basic 2005 Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 19th, 2005, 12:57 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default Images in Treeview

OK,

I have been playing around with the treeview. I am able to manipulate most of the properties but I am having trouble with the images on the left that make up the treeview.

I have made custom images but my problem is that for the text portion of the treenode, I have created a table with multiple rows to hold information. Obviously, this table is more than one line in height which causes the images to not line up correctly.

If you haven't studied this control, then I will fill you in. When this is rendered, the output for the nodes are tables and divs. The images are nested in div tags which are then placed into table cells. I would like to use CSS to set the image to repeat vertically (for the connector line) but I can't find any property settings for this particular cell.

Other than this, I seem to have been able to correctly style every other portion of the treenode. Any help is appreciated.

J
Reply With Quote
  #2 (permalink)  
Old December 21st, 2005, 12:15 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Since I couldn't find an answer, I simply appended another column to the current table and set the background images to repeat.

I would rather have known if there was a property where I could set the class, but this seems to work.

J
Reply With Quote
  #3 (permalink)  
Old December 28th, 2005, 01:55 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

On a side note, I probably should have posted this in the ASP.Net forum...
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Load Images from and Save Images to a Database cyndie VB.NET 2 August 17th, 2008 06:42 AM
how to creat a treeview with background images tjgrindsted ASP.NET 2.0 Basics 0 January 10th, 2007 04:31 PM
treeview mahmutmol ASP.NET 2.0 Basics 0 August 21st, 2006 06:43 AM
treeview MANOJMETAL ADO.NET 1 April 17th, 2004 08:46 AM
treeview Beulah ASP.NET 1.0 and 1.1 Basics 0 September 10th, 2003 09:00 PM



All times are GMT -4. The time now is 05:03 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.