Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - ListView SelectedItem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ListView SelectedItem

 Post Reply Post Reply
Author
Message
ScottW View Drop Down
Groupie
Groupie


Joined: 02 August 2005
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote ScottW Quote  Post ReplyReply Direct Link To This Post Topic: ListView SelectedItem
    Posted: 31 October 2008 at 12:18pm
I am using the ListView control in report mode. Is there some way to make sure the selected row is highlighted even when the listview doesn't have the focus? In Windows Explorer you still see the highlight in a lighter color when the focus moves away. That's what I expected to happen with this control. The SuiteControls sample can be used to demonstrate this.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 31 October 2008 at 12:51pm
Hi,
 
its HideSelection property.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
ScottW View Drop Down
Groupie
Groupie


Joined: 02 August 2005
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote ScottW Quote  Post ReplyReply Direct Link To This Post Posted: 31 October 2008 at 1:05pm
Does that actually work? In the suite controls sample app, I tried adding:

ListViewReport.HideSelection = False

and it still is not shown when the control loses the focus. I can't see any difference between the true and false settings on my system.

XP SP3, VB6 SP6.

Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 31 October 2008 at 3:54pm
Looks like you can't set the property at runtime...It works when set at design-time (although on my machine the non-focused highlight colour is a very light grey and difficult to notice, but I assume it is using system colors).

Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

Back to Top
ScottW View Drop Down
Groupie
Groupie


Joined: 02 August 2005
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote ScottW Quote  Post ReplyReply Direct Link To This Post Posted: 31 October 2008 at 4:15pm
Ok, confirmed. I also can see it with no problem if I set it at design time. I hope this can be fixed. I really prefer to set control properties in code whenever possible.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 03 November 2008 at 1:51am
Thanks, will be changed.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Carlos Rocha View Drop Down
Groupie
Groupie


Joined: 11 February 2008
Location: Portugal
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote Carlos Rocha Quote  Post ReplyReply Direct Link To This Post Posted: 09 June 2010 at 12:41pm
Hi,

In 13.2.1 still not working for TreeView
SuitePro 20.3.0
OS: Windows 10
Language: Visual Objects 2.8
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2010 at 4:45am
Hi,

Just tried with our VB sample and don't see problem.

Try add
TreeViewLines.HideSelection = False
in Load even and check if it works for you.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.171 seconds.