ListView SelectedItem |
Post Reply |
Author | |
ScottW
Groupie Joined: 02 August 2005 Status: Offline Points: 82 |
Post Options
Thanks(0)
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.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
its HideSelection property.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
ScottW
Groupie Joined: 02 August 2005 Status: Offline Points: 82 |
Post Options
Thanks(0)
|
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. |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
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 |
|
ScottW
Groupie Joined: 02 August 2005 Status: Offline Points: 82 |
Post Options
Thanks(0)
|
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.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Thanks, will be changed.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Carlos Rocha
Groupie Joined: 11 February 2008 Location: Portugal Status: Offline Points: 92 |
Post Options
Thanks(0)
|
Hi,
In 13.2.1 still not working for TreeView |
|
SuitePro 20.3.0
OS: Windows 10 Language: Visual Objects 2.8 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |