🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #17498

Re: TTreeView Problem

#17498
From: Michel Leunen
Date: Wed, 12 Mar 2003 20:20
16 lines
1534 bytes
Rusty wrote:

> Is there any way to make a TTreeView object not automatically select the top
> most visible node whenever it gains focus?

Use the Selected property of your TTreeView. Set this property to the 
TTreeNode you want in the OnShow event of the form containing your 
TTreeView.

Michel
-- 
----------------------------------------
Michel Leunen
mailto:michel@leunen.com
http://www.leunen.com/cbuilder/
----------------------------------------
Technical Details
Message-ID: <3e6f9689@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e6f7bfe$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,23cc5f55ad61845c
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-12 20:12:10 PST
Date: Wed, 12 Mar 2003 21:20:01 +0100
From: Michel Leunen <mleu@skynet.be>
Organization: http://www.leunen.com/cbuilder/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: TTreeView Problem
References: <3e6f7bfe$1@newsgroups.borland.com>
In-Reply-To: <3e6f7bfe$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 80.200.25.40
Message-ID: <3e6f9689@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1047500425 80.200.25.40 (12 Mar 2003 12:20:25 -0800)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail