Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / May 2008

Tip: Looking for answers? Try searching our database.

Why doesn't listview item stay highlighted when it looses focus?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Max Moor - 16 May 2008 19:31 GMT
Hi All,

       The subject line nearly says it all.  I have a listview on a main form
with a subform that shows details of the selected item.  When I click and
item in the list view, the whole row highlights, but as soon as I move the
focus to the subform, it goes away.

       I can set the color of the row myself in code, but I wonder if theres
an easier way?

Regards,
Max
Max Moor - 17 May 2008 07:22 GMT
> Hi All,
>
[quoted text clipped - 10 lines]
> Regards,
> Max

Eureka!  I found a property!  The HideSelection property defaults to True,
unhighlighting the selected item when the control looses the focus.  Set it
false, and the item stays highlighted.  Funny, I only looked at the list of
properties 100 times before I saw it.  Sigh

- Max
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.