Article View: borland.public.cppbuilder.nativeapi
Article #12340Re: ListItem SetFocus
From: vERUs
Date: Thu, 11 Dec 2003 09:58
Date: Thu, 11 Dec 2003 09:58
17 lines
1311 bytes
1311 bytes
> 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? > There is a ItemFocused property in the TListView... ListView->Selected = ListView->Items->Item[5]; ListView->ItemFocused = ListView->Items->Item[5]; ListView->SetFocus(); / vERUs
Technical Details
Message-ID:
<3fd83fdd$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fd5c2e0@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,d67c05b9f8b9a10d X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-12-11 02:09:29 PST From: "vERUs" <-verus-@telia.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fd5c2e0@newsgroups.borland.com> Subject: Re: ListItem SetFocus Date: Thu, 11 Dec 2003 10:58:08 +0100 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 NNTP-Posting-Host: 217.210.229.131 Message-ID: <3fd83fdd$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1071136733 217.210.229.131 (11 Dec 2003 01:58:53 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail