Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Simon Arnold
  Where is Simon Arnold?
 Halifax
 United Kingdom
 Simon Arnold
 To: Paul Brown
  
 York
 
 Paul Brown
 Tags
Subject: RE: they keep coming back don't they
Thread ID: 15909 Message ID: 15920 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Thursday, October 03, 2002 9:38:42 PM         
   


> Boudewijn
>
> To add images to the treeview you need to drop an ImageList control onto the form. Then in the form Init add
>
> Thisform.oTree.ImageList = Thisform.oImageList.Object
>
> Adding images to the image list control is simple. Bring up the properties, go to the image tab and add away.
> When adding nodes into the tree, one of the parameters is an index to an image in the image list control.
>
> The only thing I have seen to change the backcolour of a node was a fairly complex VB program on MSDN. Uses lots of API's that may or may not work OK in VFP. I can't seem to connect to MS this afternoon so I can't track down the article. Try searching in the VB section using 'treeview' as a keyword. So the short answer is .....maybe :)
>
> HTH
> Paul
>
> > OK, so if you read this message you are at least interested in what the content is. (gna gna)
> > Those treeview Q's keep coming back.
> >
> > I have two myself.
> > Is it possible to make the different items in a treeview a different color or eventual bold/ not bold.
> > What I would like to do, if possible of course, is to make the items in the root bold and the selected item under that a different color from black (dark-Blue seems like a good color, or red maybe).
> >
> > If this is possible I would like to know.
> >
> > Oh, and this Q is just about: Is it possible? NOT, what color is appropriate.
> >
> > The other Q is. How do I get a picture in my treeview.
> >
> > Boudewijn.Lutgerink@Foxite.com
> > www.foxite.com - EFFORT is too often seen as PRODUCTIVITY. Therefore programming jobs are too often experienced as sword-dancing in a hot fire.

The only thing you can do with the text on a node is to make it bold, I did this with a mass email program that I wrote, when an email was sent it changed the node to bold.


Simon Arnold.


ENTIRE THREAD

they keep coming back don't they Posted by Boudewijn Lutgerink @ 10/3/2002 3:56:44 PM
RE: they keep coming back don't they Posted by Paul Brown @ 10/3/2002 4:57:20 PM
RE: they keep coming back don't they Posted by Simon Arnold @ 10/3/2002 9:38:42 PM
RE: they keep coming back don't they Posted by Boudewijn Lutgerink @ 10/4/2002 5:54:48 AM
RE: they keep coming back don't they Posted by Boudewijn Lutgerink @ 10/4/2002 5:56:58 AM
RE: they keep coming back don't they Posted by liew wai foong @ 10/4/2002 6:23:10 AM
RE: they keep coming back don't they Posted by Boudewijn Lutgerink @ 10/4/2002 7:44:51 AM
RE: they keep coming back don't they Posted by Simon Arnold @ 10/4/2002 8:42:26 AM
RE: they keep coming back don't they Posted by Paul Brown @ 10/4/2002 11:18:13 AM