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: Boudewijn Lutgerink
  Where is Boudewijn Lutgerink?
 Hoonaardstraat, Driel
 Netherlands
 Boudewijn Lutgerink
 Tags
Subject: RE: they keep coming back don't they
Thread ID: 15909 Message ID: 15937 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Friday, October 04, 2002 8:42:26 AM         
   


> > perhaps you can try this:
> >
> >
> > loNode = thisform.TreeViewControl.SelectedItem
> > if !isnull(loNode)
> >    loNode.ForeColor = rgb(255, 0, 0)   && or whatever colour
> > endif 
> > 

> >
> > waifoong
>
> TX waifoong.
>
> 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.

Sorry could'nt post the code, as I had the wrong HD in the laptop, this is the code I used to update the node with bold

LPARAMETERS tnKey

LOCAL loNode, lnI, lcKey
lnI = 0
lcKey = 'P' + ALLTRIM(STR(tnKey))

*-- Hi-light the First Node.
FOR EACH loNode IN THISFORM.oleTree.Nodes
	IF loNode.Key = lcKey
		loNode.Bold = .T.
		EXIT
	ENDIF
ENDFOR


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