🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

ListItem SetFocus

#12502
From: George
Date: Tue, 09 Dec 2003 12:41
11 lines
1265 bytes
Hi,

I have my ListView and I select an item:

      ListView->Selected = ListView->Items->Item[5];

but this ONLY make the blue box in the listview. If I press the keyboard
upper or down key, it doesn't move. I have to click with my mouse inside the
listview to obtain "real" focus.

What's wrong?
Technical Details
Message-ID: <3fd5c2e0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,d67c05b9f8b9a10d,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-09 04:47:47 PST
From: "George" <george@nospam.org>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: ListItem SetFocus
Date: Tue, 9 Dec 2003 14:41:03 +0200
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 213.16.182.60
Message-ID: <3fd5c2e0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1070973664 213.16.182.60 (9 Dec 2003 04:41:04 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail