How to change listview selected row backcolor even when focus on another control?

前端 未结 6 805
囚心锁ツ
囚心锁ツ 2020-11-28 13:18

I have a program which uses a barcode scanner as input device so that means I need to keep the focus on a text box.

The program has a listview control and I select o

6条回答
  •  余生分开走
    2020-11-28 14:04

    Just do like this:

    1. Set property UnfocusedHighlighForegroundColor = "Blue"
    2. Set property UnfocusedHighlighBackgroundColor = "White"
    3. Set property UserCustomSelectionColors = true

    Good luck :)

提交回复
热议问题