Give focus to multiple controls

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eyalbi007
    New Member
    • Mar 2008
    • 4

    Give focus to multiple controls

    Hi all,

    My main application form occupies two listview controls.

    Whenever I select a line in one of the listviews, I lose the selection of the selected line in the 2nd listview.

    The solution of setting the 'HideSelection' property to 'true' is not good enough since I want the selected lines in both listviews to be colored blue, not grey.

    Any suggestions?

    Thanks a lot,
    Eyal.
  • vanc
    Recognized Expert New Member
    • Mar 2007
    • 211

    #2
    Originally posted by eyalbi007
    Hi all,

    My main application form occupies two listview controls.

    Whenever I select a line in one of the listviews, I lose the selection of the selected line in the 2nd listview.

    The solution of setting the 'HideSelection' property to 'true' is not good enough since I want the selected lines in both listviews to be colored blue, not grey.

    Any suggestions?

    Thanks a lot,
    Eyal.
    This is a very good idea that I never thought about. Logically, if you have two(or more) controls have focus at the same time, then they all get input from user at the same time. For example, I have two text boxes that all get entered characters at the same time, but why I need the two identical controls that have same value?! If you need only blue line in the other listview then you can set selected row style to make it blue. Is it the bottom line? Cheers.

    Comment

    Working...