Article View: borland.public.cppbuilder.nativeapi
Article #17506Re: TTreeView Problem
From: Remy Lebeau (TeamB)
Date: Wed, 12 Mar 2003 23:40
Date: Wed, 12 Mar 2003 23:40
21 lines
1773 bytes
1773 bytes
"Rusty" <rustyr@redstorm.com> wrote in message news:3e6fb352$1@newsgroups.borland.com... > The problem that I'm running into is that whenever I delete > things in the MDI child window, there should be nothing left > selected in the tree. Are you explitically setting the TreeView's Selected property to NULL? If not, try that. > I have the property set to true that always shows the > selection even when the control does not have focus. So, > nothing is highlighted after deletion, but whenever I click on > the title bar of the window that the tree is in, it always selects > the topmost item. How do I make it stop doing that. The TTreeView control does not do that on its own. Your own code must be doing something extra to cause the first item to be selected. Gambit
Technical Details
Message-ID:
<3e6fc33c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e6f7bfe$1@newsgroups.borland.com> <3e6fb352$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:39:14 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e6f7bfe$1@newsgroups.borland.com> <3e6fb352$1@newsgroups.borland.com> Subject: Re: TTreeView Problem Date: Wed, 12 Mar 2003 15:40:22 -0800 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3e6fc33c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1047511868 207.175.226.26 (12 Mar 2003 15:31:08 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail